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 extensions::ExtensionSet* TestExtensionService::extensions() const { | |
14 ADD_FAILURE(); | |
15 return NULL; | |
16 } | |
17 | |
18 extensions::PendingExtensionManager* | 13 extensions::PendingExtensionManager* |
19 TestExtensionService::pending_extension_manager() { | 14 TestExtensionService::pending_extension_manager() { |
20 ADD_FAILURE(); | 15 ADD_FAILURE(); |
21 return NULL; | 16 return NULL; |
22 } | 17 } |
23 | 18 |
24 bool TestExtensionService::UpdateExtension( | 19 bool TestExtensionService::UpdateExtension( |
25 const std::string& id, | 20 const std::string& id, |
26 const base::FilePath& path, | 21 const base::FilePath& path, |
27 bool file_ownership_passed, | 22 bool file_ownership_passed, |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 void TestExtensionService::UnloadExtension( | 83 void TestExtensionService::UnloadExtension( |
89 const std::string& extension_id, | 84 const std::string& extension_id, |
90 extensions::UnloadedExtensionInfo::Reason reason) { | 85 extensions::UnloadedExtensionInfo::Reason reason) { |
91 ADD_FAILURE(); | 86 ADD_FAILURE(); |
92 } | 87 } |
93 | 88 |
94 void TestExtensionService::RemoveComponentExtension( | 89 void TestExtensionService::RemoveComponentExtension( |
95 const std::string& extension_id) { | 90 const std::string& extension_id) { |
96 ADD_FAILURE(); | 91 ADD_FAILURE(); |
97 } | 92 } |
OLD | NEW |