OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 ExtensionList* TestExtensionService::extensions() const { | 12 const ExtensionList* TestExtensionService::extensions() const { |
13 ADD_FAILURE(); | 13 ADD_FAILURE(); |
14 return NULL; | 14 return NULL; |
15 } | 15 } |
16 | 16 |
| 17 const ExtensionList* TestExtensionService::disabled_extensions() const { |
| 18 ADD_FAILURE(); |
| 19 return NULL; |
| 20 } |
| 21 |
| 22 const ExtensionList* TestExtensionService::terminated_extensions() const { |
| 23 ADD_FAILURE(); |
| 24 return NULL; |
| 25 } |
| 26 |
17 PendingExtensionManager* TestExtensionService::pending_extension_manager() { | 27 PendingExtensionManager* TestExtensionService::pending_extension_manager() { |
18 ADD_FAILURE(); | 28 ADD_FAILURE(); |
19 return NULL; | 29 return NULL; |
20 } | 30 } |
21 | 31 |
22 bool TestExtensionService::UpdateExtension( | 32 bool TestExtensionService::UpdateExtension( |
23 const std::string& id, | 33 const std::string& id, |
24 const FilePath& path, | 34 const FilePath& path, |
25 const GURL& download_url, | 35 const GURL& download_url, |
26 CrxInstaller** out_crx_installer) { | 36 CrxInstaller** out_crx_installer) { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 ADD_FAILURE(); | 92 ADD_FAILURE(); |
83 return SyncDataList(); | 93 return SyncDataList(); |
84 } | 94 } |
85 | 95 |
86 SyncError TestExtensionService::ProcessSyncChanges( | 96 SyncError TestExtensionService::ProcessSyncChanges( |
87 const tracked_objects::Location& from_here, | 97 const tracked_objects::Location& from_here, |
88 const SyncChangeList& change_list) { | 98 const SyncChangeList& change_list) { |
89 ADD_FAILURE(); | 99 ADD_FAILURE(); |
90 return SyncError(); | 100 return SyncError(); |
91 } | 101 } |
OLD | NEW |