| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 void AddExtensionId(const std::string& extension_id); | 76 void AddExtensionId(const std::string& extension_id); |
| 77 void RemoveExtensionId(const std::string& extension_id); | 77 void RemoveExtensionId(const std::string& extension_id); |
| 78 | 78 |
| 79 private: | 79 private: |
| 80 // ExtensionRegistryObserver: | 80 // ExtensionRegistryObserver: |
| 81 void OnExtensionLoaded(content::BrowserContext* browser_context, | 81 void OnExtensionLoaded(content::BrowserContext* browser_context, |
| 82 const Extension* extension) override; | 82 const Extension* extension) override; |
| 83 void OnExtensionUnloaded(content::BrowserContext* browser_context, | 83 void OnExtensionUnloaded(content::BrowserContext* browser_context, |
| 84 const Extension* extension, | 84 const Extension* extension, |
| 85 UnloadedExtensionInfo::Reason reason) override; | 85 UnloadedExtensionInfo::Reason reason) override; |
| 86 void OnExtensionWillBeInstalled(content::BrowserContext* browser_context, | 86 void OnExtensionInstalled(content::BrowserContext* browser_context, |
| 87 const Extension* extension, | 87 const Extension* extension, |
| 88 bool is_update, | 88 bool is_update) override; |
| 89 bool from_ephemeral, | |
| 90 const std::string& old_name) override; | |
| 91 void OnExtensionUninstalled(content::BrowserContext* browser_context, | 89 void OnExtensionUninstalled(content::BrowserContext* browser_context, |
| 92 const Extension* extension, | 90 const Extension* extension, |
| 93 extensions::UninstallReason reason) override; | 91 extensions::UninstallReason reason) override; |
| 94 | 92 |
| 95 // ErrorConsole::Observer: | 93 // ErrorConsole::Observer: |
| 96 void OnErrorAdded(const ExtensionError* error) override; | 94 void OnErrorAdded(const ExtensionError* error) override; |
| 97 | 95 |
| 98 // ProcessManagerObserver: | 96 // ProcessManagerObserver: |
| 99 void OnExtensionFrameRegistered( | 97 void OnExtensionFrameRegistered( |
| 100 const std::string& extension_id, | 98 const std::string& extension_id, |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 protected: | 526 protected: |
| 529 ~DeveloperPrivateShowPathFunction() override; | 527 ~DeveloperPrivateShowPathFunction() override; |
| 530 ResponseAction Run() override; | 528 ResponseAction Run() override; |
| 531 }; | 529 }; |
| 532 | 530 |
| 533 } // namespace api | 531 } // namespace api |
| 534 | 532 |
| 535 } // namespace extensions | 533 } // namespace extensions |
| 536 | 534 |
| 537 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ | 535 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ |
| OLD | NEW |