| 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 "chrome/browser/sync/api/sync_error_factory.h" | 8 #include "chrome/browser/sync/api/sync_error_factory.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 using extensions::Extension; |
| 12 |
| 11 TestExtensionService::~TestExtensionService() {} | 13 TestExtensionService::~TestExtensionService() {} |
| 12 | 14 |
| 13 const ExtensionSet* TestExtensionService::extensions() const { | 15 const ExtensionSet* TestExtensionService::extensions() const { |
| 14 ADD_FAILURE(); | 16 ADD_FAILURE(); |
| 15 return NULL; | 17 return NULL; |
| 16 } | 18 } |
| 17 | 19 |
| 18 const ExtensionSet* TestExtensionService::disabled_extensions() const { | 20 const ExtensionSet* TestExtensionService::disabled_extensions() const { |
| 19 ADD_FAILURE(); | 21 ADD_FAILURE(); |
| 20 return NULL; | 22 return NULL; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 void TestExtensionService::UnloadExtension( | 111 void TestExtensionService::UnloadExtension( |
| 110 const std::string& extension_id, | 112 const std::string& extension_id, |
| 111 extension_misc::UnloadedExtensionReason reason) { | 113 extension_misc::UnloadedExtensionReason reason) { |
| 112 ADD_FAILURE(); | 114 ADD_FAILURE(); |
| 113 } | 115 } |
| 114 | 116 |
| 115 void TestExtensionService::SyncExtensionChangeIfNeeded( | 117 void TestExtensionService::SyncExtensionChangeIfNeeded( |
| 116 const Extension& extension) { | 118 const Extension& extension) { |
| 117 ADD_FAILURE(); | 119 ADD_FAILURE(); |
| 118 } | 120 } |
| OLD | NEW |