| 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_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ |
| 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 AppsMatchChecker(); | 113 AppsMatchChecker(); |
| 114 ~AppsMatchChecker() override; | 114 ~AppsMatchChecker() override; |
| 115 | 115 |
| 116 // StatusChangeChecker implementation. | 116 // StatusChangeChecker implementation. |
| 117 std::string GetDebugMessage() const override; | 117 std::string GetDebugMessage() const override; |
| 118 bool IsExitConditionSatisfied() override; | 118 bool IsExitConditionSatisfied() override; |
| 119 | 119 |
| 120 // extensions::ExtensionRegistryObserver implementation. | 120 // extensions::ExtensionRegistryObserver implementation. |
| 121 void OnExtensionLoaded(content::BrowserContext* context, | 121 void OnExtensionLoaded(content::BrowserContext* context, |
| 122 const extensions::Extension* extension) override; | 122 const extensions::Extension* extension) override; |
| 123 void OnExtensionUnloaded( | 123 void OnExtensionUnloaded(content::BrowserContext* context, |
| 124 content::BrowserContext* context, | 124 const extensions::Extension* extenion, |
| 125 const extensions::Extension* extenion, | 125 extensions::UnloadedExtensionReason reason) override; |
| 126 extensions::UnloadedExtensionInfo::Reason reason) override; | |
| 127 void OnExtensionInstalled(content::BrowserContext* browser_context, | 126 void OnExtensionInstalled(content::BrowserContext* browser_context, |
| 128 const extensions::Extension* extension, | 127 const extensions::Extension* extension, |
| 129 bool is_update) override; | 128 bool is_update) override; |
| 130 void OnExtensionUninstalled(content::BrowserContext* browser_context, | 129 void OnExtensionUninstalled(content::BrowserContext* browser_context, |
| 131 const extensions::Extension* extension, | 130 const extensions::Extension* extension, |
| 132 extensions::UninstallReason reason) override; | 131 extensions::UninstallReason reason) override; |
| 133 | 132 |
| 134 // extensions::ExtensionPrefsObserver implementation. | 133 // extensions::ExtensionPrefsObserver implementation. |
| 135 void OnExtensionDisableReasonsChanged(const std::string& extension_id, | 134 void OnExtensionDisableReasonsChanged(const std::string& extension_id, |
| 136 int disabled_reasons) override; | 135 int disabled_reasons) override; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 154 content::NotificationRegistrar registrar_; | 153 content::NotificationRegistrar registrar_; |
| 155 | 154 |
| 156 // This installs apps, too. | 155 // This installs apps, too. |
| 157 std::vector<std::unique_ptr<SyncedExtensionInstaller>> | 156 std::vector<std::unique_ptr<SyncedExtensionInstaller>> |
| 158 synced_extension_installers_; | 157 synced_extension_installers_; |
| 159 | 158 |
| 160 DISALLOW_COPY_AND_ASSIGN(AppsMatchChecker); | 159 DISALLOW_COPY_AND_ASSIGN(AppsMatchChecker); |
| 161 }; | 160 }; |
| 162 | 161 |
| 163 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ | 162 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ |
| OLD | NEW |