| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 virtual void OnExtensionUninstalled(const Extension* extension) OVERRIDE {} | 93 virtual void OnExtensionUninstalled(const Extension* extension) OVERRIDE {} |
| 94 // We also have to list the following from InstallObserver. | 94 // We also have to list the following from InstallObserver. |
| 95 virtual void OnBeginExtensionInstall(const std::string& extension_id, | 95 virtual void OnBeginExtensionInstall(const std::string& extension_id, |
| 96 const std::string& extension_name, | 96 const std::string& extension_name, |
| 97 const gfx::ImageSkia& installing_icon, | 97 const gfx::ImageSkia& installing_icon, |
| 98 bool is_app, | 98 bool is_app, |
| 99 bool is_platform_app) OVERRIDE {} | 99 bool is_platform_app) OVERRIDE {} |
| 100 virtual void OnDownloadProgress(const std::string& extension_id, | 100 virtual void OnDownloadProgress(const std::string& extension_id, |
| 101 int percent_downloaded) OVERRIDE {} | 101 int percent_downloaded) OVERRIDE {} |
| 102 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE {} | 102 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE {} |
| 103 virtual void OnAppsReordered() OVERRIDE {} | 103 virtual void OnAppListReordered() OVERRIDE {} |
| 104 virtual void OnAppInstalledToAppList( | 104 virtual void OnAppInstalledToAppList( |
| 105 const std::string& extension_id) OVERRIDE {} | 105 const std::string& extension_id) OVERRIDE {} |
| 106 virtual void OnShutdown() OVERRIDE {} | 106 virtual void OnShutdown() OVERRIDE {} |
| 107 | 107 |
| 108 // BrowserContextKeyedService | 108 // BrowserContextKeyedService |
| 109 virtual void Shutdown() OVERRIDE; | 109 virtual void Shutdown() OVERRIDE; |
| 110 | 110 |
| 111 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 111 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
| 112 | 112 |
| 113 private: | 113 private: |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 virtual content::BrowserContext* GetBrowserContextToUse( | 198 virtual content::BrowserContext* GetBrowserContextToUse( |
| 199 content::BrowserContext* context) const OVERRIDE; | 199 content::BrowserContext* context) const OVERRIDE; |
| 200 | 200 |
| 201 DISALLOW_COPY_AND_ASSIGN(ActivityLogFactory); | 201 DISALLOW_COPY_AND_ASSIGN(ActivityLogFactory); |
| 202 }; | 202 }; |
| 203 | 203 |
| 204 | 204 |
| 205 } // namespace extensions | 205 } // namespace extensions |
| 206 | 206 |
| 207 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ | 207 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ |
| OLD | NEW |