| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 static void RecordAppListAppLaunch(); | 47 static void RecordAppListAppLaunch(); |
| 48 | 48 |
| 49 // AppListService overrides: | 49 // AppListService overrides: |
| 50 virtual void SetAppListNextPaintCallback(void (*callback)()) override; | 50 virtual void SetAppListNextPaintCallback(void (*callback)()) override; |
| 51 virtual void HandleFirstRun() override; | 51 virtual void HandleFirstRun() override; |
| 52 virtual void Init(Profile* initial_profile) override; | 52 virtual void Init(Profile* initial_profile) override; |
| 53 virtual base::FilePath GetProfilePath( | 53 virtual base::FilePath GetProfilePath( |
| 54 const base::FilePath& user_data_dir) override; | 54 const base::FilePath& user_data_dir) override; |
| 55 virtual void SetProfilePath(const base::FilePath& profile_path) override; | 55 virtual void SetProfilePath(const base::FilePath& profile_path) override; |
| 56 virtual void Show() override; | 56 virtual void Show() override; |
| 57 virtual void ShowForVoiceSearch(Profile* profile) override; |
| 57 virtual void ShowForAppInstall(Profile* profile, | 58 virtual void ShowForAppInstall(Profile* profile, |
| 58 const std::string& extension_id, | 59 const std::string& extension_id, |
| 59 bool start_discovery_tracking) override; | 60 bool start_discovery_tracking) override; |
| 60 virtual void EnableAppList(Profile* initial_profile, | 61 virtual void EnableAppList(Profile* initial_profile, |
| 61 AppListEnableSource enable_source) override; | 62 AppListEnableSource enable_source) override; |
| 62 virtual void CreateShortcut() override; | 63 virtual void CreateShortcut() override; |
| 63 | 64 |
| 64 protected: | 65 protected: |
| 65 AppListServiceImpl(); | 66 AppListServiceImpl(); |
| 66 | 67 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 PrefService* local_state_; | 102 PrefService* local_state_; |
| 102 scoped_ptr<ProfileLoader> profile_loader_; | 103 scoped_ptr<ProfileLoader> profile_loader_; |
| 103 scoped_ptr<AppListViewDelegate> view_delegate_; | 104 scoped_ptr<AppListViewDelegate> view_delegate_; |
| 104 | 105 |
| 105 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; | 106 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; |
| 106 | 107 |
| 107 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); | 108 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); |
| 108 }; | 109 }; |
| 109 | 110 |
| 110 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ | 111 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ |
| OLD | NEW |