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 #include "chrome/browser/extensions/crx_installer.h" | 5 #include "chrome/browser/extensions/crx_installer.h" |
6 #include "chrome/browser/extensions/test_extension_service.h" | 6 #include "chrome/browser/extensions/test_extension_service.h" |
7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
8 | 8 |
9 using extensions::Extension; | 9 using extensions::Extension; |
10 | 10 |
11 TestExtensionService::~TestExtensionService() {} | 11 TestExtensionService::~TestExtensionService() {} |
12 | 12 |
13 const ExtensionSet* TestExtensionService::extensions() const { | 13 const extensions::ExtensionSet* TestExtensionService::extensions() const { |
14 ADD_FAILURE(); | 14 ADD_FAILURE(); |
15 return NULL; | 15 return NULL; |
16 } | 16 } |
17 | 17 |
18 const ExtensionSet* TestExtensionService::disabled_extensions() const { | 18 const extensions::ExtensionSet* TestExtensionService::disabled_extensions() |
| 19 const { |
19 ADD_FAILURE(); | 20 ADD_FAILURE(); |
20 return NULL; | 21 return NULL; |
21 } | 22 } |
22 | 23 |
23 extensions::PendingExtensionManager* | 24 extensions::PendingExtensionManager* |
24 TestExtensionService::pending_extension_manager() { | 25 TestExtensionService::pending_extension_manager() { |
25 ADD_FAILURE(); | 26 ADD_FAILURE(); |
26 return NULL; | 27 return NULL; |
27 } | 28 } |
28 | 29 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 void TestExtensionService::UnloadExtension( | 100 void TestExtensionService::UnloadExtension( |
100 const std::string& extension_id, | 101 const std::string& extension_id, |
101 extensions::UnloadedExtensionInfo::Reason reason) { | 102 extensions::UnloadedExtensionInfo::Reason reason) { |
102 ADD_FAILURE(); | 103 ADD_FAILURE(); |
103 } | 104 } |
104 | 105 |
105 void TestExtensionService::RemoveComponentExtension( | 106 void TestExtensionService::RemoveComponentExtension( |
106 const std::string& extension_id) { | 107 const std::string& extension_id) { |
107 ADD_FAILURE(); | 108 ADD_FAILURE(); |
108 } | 109 } |
OLD | NEW |