Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: chrome/browser/ui/app_list/search/people/people_result.h

Issue 572853002: Realigning the WeakPtrFactory initialization order in chrome/ui folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed mac error Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 // waiting on the onHangoutRequested event (the hangouts extension can have 39 // waiting on the onHangoutRequested event (the hangouts extension can have
40 // a total of four possible id's, depending on which release type of it is 40 // a total of four possible id's, depending on which release type of it is
41 // installed). If so, set the hangouts_extension_id_ to the id of the 41 // installed). If so, set the hangouts_extension_id_ to the id of the
42 // extension that is waiting, or set it to an empty string if not. 42 // extension that is waiting, or set it to an empty string if not.
43 void RefreshHangoutsExtensionId(); 43 void RefreshHangoutsExtensionId();
44 44
45 Profile* profile_; 45 Profile* profile_;
46 scoped_ptr<Person> person_; 46 scoped_ptr<Person> person_;
47 47
48 gfx::ImageSkia image_; 48 gfx::ImageSkia image_;
49 base::WeakPtrFactory<PeopleResult> weak_factory_;
50 49
51 // Caches the id of the hangouts extension. 50 // Caches the id of the hangouts extension.
52 std::string hangouts_extension_id_; 51 std::string hangouts_extension_id_;
53 52
53 base::WeakPtrFactory<PeopleResult> weak_factory_;
54
54 DISALLOW_COPY_AND_ASSIGN(PeopleResult); 55 DISALLOW_COPY_AND_ASSIGN(PeopleResult);
55 }; 56 };
56 57
57 } // namespace app_list 58 } // namespace app_list
58 59
59 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_ 60 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PEOPLE_RESULT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_impl.cc ('k') | chrome/browser/ui/ash/screenshot_taker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698