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 "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 TestExtensionService::~TestExtensionService() {} | 10 TestExtensionService::~TestExtensionService() {} |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool TestExtensionService::AddExtension(const Extension* extension) { | 98 bool TestExtensionService::AddExtension(const Extension* extension) { |
99 ADD_FAILURE(); | 99 ADD_FAILURE(); |
100 return false; | 100 return false; |
101 } | 101 } |
102 | 102 |
103 void TestExtensionService::UnloadExtension( | 103 void TestExtensionService::UnloadExtension( |
104 const std::string& extension_id, | 104 const std::string& extension_id, |
105 extension_misc::UnloadedExtensionReason reason) { | 105 extension_misc::UnloadedExtensionReason reason) { |
106 ADD_FAILURE(); | 106 ADD_FAILURE(); |
107 } | 107 } |
| 108 |
| 109 void TestExtensionService::SyncExtensionChangeIfNeeded( |
| 110 const Extension& extension) { |
| 111 ADD_FAILURE(); |
| 112 } |
OLD | NEW |