| 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 "sync/api/sync_error_factory.h" | 8 #include "sync/api/sync_error_factory.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 base::SequencedTaskRunner* TestExtensionService::GetFileTaskRunner() { | 113 base::SequencedTaskRunner* TestExtensionService::GetFileTaskRunner() { |
| 114 ADD_FAILURE(); | 114 ADD_FAILURE(); |
| 115 return NULL; | 115 return NULL; |
| 116 } | 116 } |
| 117 | 117 |
| 118 void TestExtensionService::AddExtension(const Extension* extension) { | 118 void TestExtensionService::AddExtension(const Extension* extension) { |
| 119 ADD_FAILURE(); | 119 ADD_FAILURE(); |
| 120 } | 120 } |
| 121 | 121 |
| 122 void TestExtensionService::AddComponentExtension(const Extension* extension) { |
| 123 ADD_FAILURE(); |
| 124 } |
| 125 |
| 122 void TestExtensionService::UnloadExtension( | 126 void TestExtensionService::UnloadExtension( |
| 123 const std::string& extension_id, | 127 const std::string& extension_id, |
| 124 extension_misc::UnloadedExtensionReason reason) { | 128 extension_misc::UnloadedExtensionReason reason) { |
| 125 ADD_FAILURE(); | 129 ADD_FAILURE(); |
| 126 } | 130 } |
| 127 | 131 |
| 128 void TestExtensionService::SyncExtensionChangeIfNeeded( | 132 void TestExtensionService::SyncExtensionChangeIfNeeded( |
| 129 const Extension& extension) { | 133 const Extension& extension) { |
| 130 ADD_FAILURE(); | 134 ADD_FAILURE(); |
| 131 } | 135 } |
| OLD | NEW |