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/test_extension_service.h" | 6 #include "chrome/browser/extensions/test_extension_service.h" |
7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
8 | 8 |
9 using extensions::Extension; | 9 using extensions::Extension; |
10 | 10 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 const std::string& extension_id) { | 53 const std::string& extension_id) { |
54 ADD_FAILURE(); | 54 ADD_FAILURE(); |
55 } | 55 } |
56 | 56 |
57 bool TestExtensionService::IsExtensionEnabled( | 57 bool TestExtensionService::IsExtensionEnabled( |
58 const std::string& extension_id) const { | 58 const std::string& extension_id) const { |
59 ADD_FAILURE(); | 59 ADD_FAILURE(); |
60 return false; | 60 return false; |
61 } | 61 } |
62 | 62 |
63 bool TestExtensionService::IsExternalExtensionUninstalled( | |
64 const std::string& extension_id) const { | |
65 ADD_FAILURE(); | |
66 return false; | |
67 } | |
68 | |
69 void TestExtensionService::CheckManagementPolicy() { | 63 void TestExtensionService::CheckManagementPolicy() { |
70 ADD_FAILURE(); | 64 ADD_FAILURE(); |
71 } | 65 } |
72 | 66 |
73 void TestExtensionService::CheckForUpdatesSoon() { | 67 void TestExtensionService::CheckForUpdatesSoon() { |
74 ADD_FAILURE(); | 68 ADD_FAILURE(); |
75 } | 69 } |
76 | 70 |
77 bool TestExtensionService::is_ready() { | 71 bool TestExtensionService::is_ready() { |
78 ADD_FAILURE(); | 72 ADD_FAILURE(); |
(...skipping 16 matching lines...) Expand all Loading... |
95 void TestExtensionService::UnloadExtension( | 89 void TestExtensionService::UnloadExtension( |
96 const std::string& extension_id, | 90 const std::string& extension_id, |
97 extensions::UnloadedExtensionInfo::Reason reason) { | 91 extensions::UnloadedExtensionInfo::Reason reason) { |
98 ADD_FAILURE(); | 92 ADD_FAILURE(); |
99 } | 93 } |
100 | 94 |
101 void TestExtensionService::RemoveComponentExtension( | 95 void TestExtensionService::RemoveComponentExtension( |
102 const std::string& extension_id) { | 96 const std::string& extension_id) { |
103 ADD_FAILURE(); | 97 ADD_FAILURE(); |
104 } | 98 } |
OLD | NEW |