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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 virtual void OnExtensionUnloaded( | 81 virtual void OnExtensionUnloaded( |
82 content::BrowserContext* browser_context, | 82 content::BrowserContext* browser_context, |
83 const Extension* extension, | 83 const Extension* extension, |
84 UnloadedExtensionInfo::Reason reason) OVERRIDE; | 84 UnloadedExtensionInfo::Reason reason) OVERRIDE; |
85 virtual void OnExtensionWillBeInstalled( | 85 virtual void OnExtensionWillBeInstalled( |
86 content::BrowserContext* browser_context, | 86 content::BrowserContext* browser_context, |
87 const Extension* extension, | 87 const Extension* extension, |
88 bool is_update, | 88 bool is_update, |
89 bool from_ephemeral, | 89 bool from_ephemeral, |
90 const std::string& old_name) OVERRIDE; | 90 const std::string& old_name) OVERRIDE; |
91 virtual void OnExtensionUninstalled(content::BrowserContext* browser_context, | 91 virtual void OnExtensionUninstalled( |
92 const Extension* extension) OVERRIDE; | 92 content::BrowserContext* browser_context, |
| 93 const Extension* extension, |
| 94 extensions::UninstallReason reason) OVERRIDE; |
93 | 95 |
94 // ErrorConsole::Observer implementation. | 96 // ErrorConsole::Observer implementation. |
95 virtual void OnErrorAdded(const ExtensionError* error) OVERRIDE; | 97 virtual void OnErrorAdded(const ExtensionError* error) OVERRIDE; |
96 | 98 |
97 content::NotificationRegistrar registrar_; | 99 content::NotificationRegistrar registrar_; |
98 | 100 |
99 ScopedObserver<extensions::ExtensionRegistry, | 101 ScopedObserver<extensions::ExtensionRegistry, |
100 extensions::ExtensionRegistryObserver> | 102 extensions::ExtensionRegistryObserver> |
101 extension_registry_observer_; | 103 extension_registry_observer_; |
102 | 104 |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 | 485 |
484 // ExtensionFunction: | 486 // ExtensionFunction: |
485 virtual bool RunAsync() OVERRIDE; | 487 virtual bool RunAsync() OVERRIDE; |
486 }; | 488 }; |
487 | 489 |
488 } // namespace api | 490 } // namespace api |
489 | 491 |
490 } // namespace extensions | 492 } // namespace extensions |
491 | 493 |
492 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ | 494 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ |
OLD | NEW |