| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 virtual void OnExtensionUninstalled(const Extension* extension) OVERRIDE; | 87 virtual void OnExtensionUninstalled(const Extension* extension) OVERRIDE; |
| 88 // We also have to list the following from InstallObserver. | 88 // We also have to list the following from InstallObserver. |
| 89 virtual void OnBeginExtensionInstall(const std::string& extension_id, | 89 virtual void OnBeginExtensionInstall(const std::string& extension_id, |
| 90 const std::string& extension_name, | 90 const std::string& extension_name, |
| 91 const gfx::ImageSkia& installing_icon, | 91 const gfx::ImageSkia& installing_icon, |
| 92 bool is_app, | 92 bool is_app, |
| 93 bool is_platform_app) OVERRIDE {} | 93 bool is_platform_app) OVERRIDE {} |
| 94 virtual void OnDownloadProgress(const std::string& extension_id, | 94 virtual void OnDownloadProgress(const std::string& extension_id, |
| 95 int percent_downloaded) OVERRIDE {} | 95 int percent_downloaded) OVERRIDE {} |
| 96 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE {} | 96 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE {} |
| 97 virtual void OnAppsReordered() OVERRIDE {} | 97 virtual void OnAppListReordered() OVERRIDE {} |
| 98 virtual void OnAppInstalledToAppList( | 98 virtual void OnAppInstalledToAppList( |
| 99 const std::string& extension_id) OVERRIDE {} | 99 const std::string& extension_id) OVERRIDE {} |
| 100 virtual void OnShutdown() OVERRIDE {} | 100 virtual void OnShutdown() OVERRIDE {} |
| 101 | 101 |
| 102 // BrowserContextKeyedService | 102 // BrowserContextKeyedService |
| 103 virtual void Shutdown() OVERRIDE; | 103 virtual void Shutdown() OVERRIDE; |
| 104 | 104 |
| 105 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 105 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
| 106 | 106 |
| 107 // Clean up URLs from the activity log database. | 107 // Clean up URLs from the activity log database. |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 virtual content::BrowserContext* GetBrowserContextToUse( | 224 virtual content::BrowserContext* GetBrowserContextToUse( |
| 225 content::BrowserContext* context) const OVERRIDE; | 225 content::BrowserContext* context) const OVERRIDE; |
| 226 | 226 |
| 227 DISALLOW_COPY_AND_ASSIGN(ActivityLogFactory); | 227 DISALLOW_COPY_AND_ASSIGN(ActivityLogFactory); |
| 228 }; | 228 }; |
| 229 | 229 |
| 230 | 230 |
| 231 } // namespace extensions | 231 } // namespace extensions |
| 232 | 232 |
| 233 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ | 233 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_LOG_H_ |
| OLD | NEW |