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_APP_LIST_SERVICE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // Callback for asynchronous profile load. | 80 // Callback for asynchronous profile load. |
81 void OnProfileLoaded(int profile_load_sequence_id, | 81 void OnProfileLoaded(int profile_load_sequence_id, |
82 Profile* profile, | 82 Profile* profile, |
83 Profile::CreateStatus status); | 83 Profile::CreateStatus status); |
84 | 84 |
85 // ProfileInfoCacheObserver overrides: | 85 // ProfileInfoCacheObserver overrides: |
86 virtual void OnProfileWillBeRemoved( | 86 virtual void OnProfileWillBeRemoved( |
87 const base::FilePath& profile_path) OVERRIDE; | 87 const base::FilePath& profile_path) OVERRIDE; |
88 | 88 |
89 scoped_ptr<ProfileStore> profile_store_; | 89 scoped_ptr<ProfileStore> profile_store_; |
90 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; | |
91 base::CommandLine command_line_; | 90 base::CommandLine command_line_; |
92 PrefService* local_state_; | 91 PrefService* local_state_; |
93 scoped_ptr<ProfileLoader> profile_loader_; | 92 scoped_ptr<ProfileLoader> profile_loader_; |
94 | 93 |
| 94 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; |
| 95 |
95 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); | 96 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); |
96 }; | 97 }; |
97 | 98 |
98 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ | 99 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ |
OLD | NEW |