| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |