| 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_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 const Extension* extension, | 88 const Extension* extension, |
| 89 bool is_update, | 89 bool is_update, |
| 90 bool from_ephemeral, | 90 bool from_ephemeral, |
| 91 const std::string& old_name) override; | 91 const std::string& old_name) override; |
| 92 void OnExtensionUninstalled(content::BrowserContext* browser_context, | 92 void OnExtensionUninstalled(content::BrowserContext* browser_context, |
| 93 const Extension* extension, | 93 const Extension* extension, |
| 94 extensions::UninstallReason reason) override; | 94 extensions::UninstallReason reason) override; |
| 95 | 95 |
| 96 // ErrorConsole::Observer implementation. | 96 // ErrorConsole::Observer implementation. |
| 97 void OnErrorAdded(const ExtensionError* error) override; | 97 void OnErrorAdded(const ExtensionError* error) override; |
| 98 void OnErrorsRemoved(const std::set<std::string>& extension_ids) override; |
| 98 | 99 |
| 99 content::NotificationRegistrar registrar_; | 100 content::NotificationRegistrar registrar_; |
| 100 | 101 |
| 101 ScopedObserver<extensions::ExtensionRegistry, | 102 ScopedObserver<extensions::ExtensionRegistry, |
| 102 extensions::ExtensionRegistryObserver> | 103 extensions::ExtensionRegistryObserver> |
| 103 extension_registry_observer_; | 104 extension_registry_observer_; |
| 104 | 105 |
| 105 Profile* profile_; | 106 Profile* profile_; |
| 106 | 107 |
| 107 // The set of IDs of the Extensions that have subscribed to DeveloperPrivate | 108 // The set of IDs of the Extensions that have subscribed to DeveloperPrivate |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 protected: | 451 protected: |
| 451 ~DeveloperPrivateDeleteExtensionErrorsFunction() override; | 452 ~DeveloperPrivateDeleteExtensionErrorsFunction() override; |
| 452 ResponseAction Run() override; | 453 ResponseAction Run() override; |
| 453 }; | 454 }; |
| 454 | 455 |
| 455 } // namespace api | 456 } // namespace api |
| 456 | 457 |
| 457 } // namespace extensions | 458 } // namespace extensions |
| 458 | 459 |
| 459 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ | 460 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ |
| OLD | NEW |