| 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 std::vector<std::string> TestExtensionService::GetAllExtensionIds( |
| 13 ) const { |
| 14 ADD_FAILURE(); |
| 15 return std::vector<std::string>(); |
| 16 } |
| 17 |
| 12 const ExtensionList* TestExtensionService::extensions() const { | 18 const ExtensionList* TestExtensionService::extensions() const { |
| 13 ADD_FAILURE(); | 19 ADD_FAILURE(); |
| 14 return NULL; | 20 return NULL; |
| 15 } | 21 } |
| 16 | 22 |
| 17 PendingExtensionManager* TestExtensionService::pending_extension_manager() { | 23 PendingExtensionManager* TestExtensionService::pending_extension_manager() { |
| 18 ADD_FAILURE(); | 24 ADD_FAILURE(); |
| 19 return NULL; | 25 return NULL; |
| 20 } | 26 } |
| 21 | 27 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 ADD_FAILURE(); | 88 ADD_FAILURE(); |
| 83 return SyncDataList(); | 89 return SyncDataList(); |
| 84 } | 90 } |
| 85 | 91 |
| 86 SyncError TestExtensionService::ProcessSyncChanges( | 92 SyncError TestExtensionService::ProcessSyncChanges( |
| 87 const tracked_objects::Location& from_here, | 93 const tracked_objects::Location& from_here, |
| 88 const SyncChangeList& change_list) { | 94 const SyncChangeList& change_list) { |
| 89 ADD_FAILURE(); | 95 ADD_FAILURE(); |
| 90 return SyncError(); | 96 return SyncError(); |
| 91 } | 97 } |
| OLD | NEW |