| 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() {} |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 ADD_FAILURE(); | 82 ADD_FAILURE(); |
| 83 return SyncDataList(); | 83 return SyncDataList(); |
| 84 } | 84 } |
| 85 | 85 |
| 86 SyncError TestExtensionService::ProcessSyncChanges( | 86 SyncError TestExtensionService::ProcessSyncChanges( |
| 87 const tracked_objects::Location& from_here, | 87 const tracked_objects::Location& from_here, |
| 88 const SyncChangeList& change_list) { | 88 const SyncChangeList& change_list) { |
| 89 ADD_FAILURE(); | 89 ADD_FAILURE(); |
| 90 return SyncError(); | 90 return SyncError(); |
| 91 } | 91 } |
| 92 |
| 93 bool TestExtensionService::is_ready() { |
| 94 ADD_FAILURE(); |
| 95 return false; |
| 96 } |
| 97 |
| 98 void TestExtensionService::AddExtension(const Extension* extension) { |
| 99 ADD_FAILURE(); |
| 100 } |
| 101 |
| 102 void TestExtensionService::UnloadExtension( |
| 103 const std::string& extension_id, |
| 104 extension_misc::UnloadedExtensionReason reason) { |
| 105 ADD_FAILURE(); |
| 106 } |
| OLD | NEW |