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_TEST_EXTENSION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 virtual const extensions::Extension* GetExtensionById( | 36 virtual const extensions::Extension* GetExtensionById( |
37 const std::string& id, bool include_disabled) const OVERRIDE; | 37 const std::string& id, bool include_disabled) const OVERRIDE; |
38 virtual const extensions::Extension* GetInstalledExtension( | 38 virtual const extensions::Extension* GetInstalledExtension( |
39 const std::string& id) const OVERRIDE; | 39 const std::string& id) const OVERRIDE; |
40 virtual const extensions::Extension* GetPendingExtensionUpdate( | 40 virtual const extensions::Extension* GetPendingExtensionUpdate( |
41 const std::string& extension_id) const OVERRIDE; | 41 const std::string& extension_id) const OVERRIDE; |
42 virtual void FinishDelayedInstallation( | 42 virtual void FinishDelayedInstallation( |
43 const std::string& extension_id) OVERRIDE; | 43 const std::string& extension_id) OVERRIDE; |
44 virtual bool IsExtensionEnabled( | 44 virtual bool IsExtensionEnabled( |
45 const std::string& extension_id) const OVERRIDE; | 45 const std::string& extension_id) const OVERRIDE; |
46 virtual bool IsExternalExtensionUninstalled( | |
47 const std::string& extension_id) const OVERRIDE; | |
48 | 46 |
49 virtual void CheckManagementPolicy() OVERRIDE; | 47 virtual void CheckManagementPolicy() OVERRIDE; |
50 virtual void CheckForUpdatesSoon() OVERRIDE; | 48 virtual void CheckForUpdatesSoon() OVERRIDE; |
51 | 49 |
52 virtual bool is_ready() OVERRIDE; | 50 virtual bool is_ready() OVERRIDE; |
53 | 51 |
54 virtual base::SequencedTaskRunner* GetFileTaskRunner() OVERRIDE; | 52 virtual base::SequencedTaskRunner* GetFileTaskRunner() OVERRIDE; |
55 | 53 |
56 virtual void AddExtension(const extensions::Extension* extension) OVERRIDE; | 54 virtual void AddExtension(const extensions::Extension* extension) OVERRIDE; |
57 virtual void AddComponentExtension( | 55 virtual void AddComponentExtension( |
58 const extensions::Extension* extension) OVERRIDE; | 56 const extensions::Extension* extension) OVERRIDE; |
59 | 57 |
60 virtual void UnloadExtension( | 58 virtual void UnloadExtension( |
61 const std::string& extension_id, | 59 const std::string& extension_id, |
62 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE; | 60 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE; |
63 virtual void RemoveComponentExtension(const std::string & extension_id) | 61 virtual void RemoveComponentExtension(const std::string & extension_id) |
64 OVERRIDE; | 62 OVERRIDE; |
65 }; | 63 }; |
66 | 64 |
67 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ | 65 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ |
OLD | NEW |