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 13 matching lines...) Expand all Loading... |
24 | 24 |
25 PendingExtensionManager* TestExtensionService::pending_extension_manager() { | 25 PendingExtensionManager* TestExtensionService::pending_extension_manager() { |
26 ADD_FAILURE(); | 26 ADD_FAILURE(); |
27 return NULL; | 27 return NULL; |
28 } | 28 } |
29 | 29 |
30 bool TestExtensionService::UpdateExtension( | 30 bool TestExtensionService::UpdateExtension( |
31 const std::string& id, | 31 const std::string& id, |
32 const FilePath& path, | 32 const FilePath& path, |
33 const GURL& download_url, | 33 const GURL& download_url, |
34 CrxInstaller** out_crx_installer) { | 34 extensions::CrxInstaller** out_crx_installer) { |
35 ADD_FAILURE(); | 35 ADD_FAILURE(); |
36 return false; | 36 return false; |
37 } | 37 } |
38 | 38 |
39 const Extension* TestExtensionService::GetExtensionById( | 39 const Extension* TestExtensionService::GetExtensionById( |
40 const std::string& id, bool include_disabled) const { | 40 const std::string& id, bool include_disabled) const { |
41 ADD_FAILURE(); | 41 ADD_FAILURE(); |
42 return NULL; | 42 return NULL; |
43 } | 43 } |
44 | 44 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 void TestExtensionService::UnloadExtension( | 111 void TestExtensionService::UnloadExtension( |
112 const std::string& extension_id, | 112 const std::string& extension_id, |
113 extension_misc::UnloadedExtensionReason reason) { | 113 extension_misc::UnloadedExtensionReason reason) { |
114 ADD_FAILURE(); | 114 ADD_FAILURE(); |
115 } | 115 } |
116 | 116 |
117 void TestExtensionService::SyncExtensionChangeIfNeeded( | 117 void TestExtensionService::SyncExtensionChangeIfNeeded( |
118 const Extension& extension) { | 118 const Extension& extension) { |
119 ADD_FAILURE(); | 119 ADD_FAILURE(); |
120 } | 120 } |
OLD | NEW |