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/extension_sync_data.h" | 6 #include "chrome/browser/extensions/extension_sync_data.h" |
7 #include "chrome/browser/extensions/test_extension_service.h" | 7 #include "chrome/browser/extensions/test_extension_service.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 TestExtensionService::~TestExtensionService() {} | 10 TestExtensionService::~TestExtensionService() {} |
11 | 11 |
12 const ExtensionSet* TestExtensionService::extensions() const { | 12 const ExtensionSet* TestExtensionService::extensions() const { |
13 ADD_FAILURE(); | 13 ADD_FAILURE(); |
14 return NULL; | 14 return NULL; |
15 } | 15 } |
16 | 16 |
| 17 const ExtensionSet* TestExtensionService::disabled_extensions() const { |
| 18 ADD_FAILURE(); |
| 19 return NULL; |
| 20 } |
| 21 |
17 PendingExtensionManager* TestExtensionService::pending_extension_manager() { | 22 PendingExtensionManager* TestExtensionService::pending_extension_manager() { |
18 ADD_FAILURE(); | 23 ADD_FAILURE(); |
19 return NULL; | 24 return NULL; |
20 } | 25 } |
21 | 26 |
22 bool TestExtensionService::UpdateExtension( | 27 bool TestExtensionService::UpdateExtension( |
23 const std::string& id, | 28 const std::string& id, |
24 const FilePath& path, | 29 const FilePath& path, |
25 const GURL& download_url, | 30 const GURL& download_url, |
26 CrxInstaller** out_crx_installer) { | 31 CrxInstaller** out_crx_installer) { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool TestExtensionService::AddExtension(const Extension* extension) { | 103 bool TestExtensionService::AddExtension(const Extension* extension) { |
99 ADD_FAILURE(); | 104 ADD_FAILURE(); |
100 return false; | 105 return false; |
101 } | 106 } |
102 | 107 |
103 void TestExtensionService::UnloadExtension( | 108 void TestExtensionService::UnloadExtension( |
104 const std::string& extension_id, | 109 const std::string& extension_id, |
105 extension_misc::UnloadedExtensionReason reason) { | 110 extension_misc::UnloadedExtensionReason reason) { |
106 ADD_FAILURE(); | 111 ADD_FAILURE(); |
107 } | 112 } |
OLD | NEW |