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