| 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 // Stub methods to be used when extensions are disabled | 5 // Stub methods to be used when extensions are disabled |
| 6 // i.e. ENABLE_EXTENSIONS is not defined | 6 // i.e. ENABLE_EXTENSIONS is not defined |
| 7 | 7 |
| 8 #include "chrome/common/extensions/api/extension_api.h" | 8 #include "extensions/common/extension_api.h" |
| 9 | 9 |
| 10 #include "extensions/common/features/feature.h" | 10 #include "extensions/common/features/feature.h" |
| 11 | 11 |
| 12 namespace extensions { | 12 namespace extensions { |
| 13 | 13 |
| 14 // static | 14 // static |
| 15 ExtensionAPI* ExtensionAPI::GetSharedInstance() { | 15 ExtensionAPI* ExtensionAPI::GetSharedInstance() { |
| 16 return NULL; | 16 return NULL; |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 39 bool ExtensionAPI::IsPrivileged(const std::string& full_name) { | 39 bool ExtensionAPI::IsPrivileged(const std::string& full_name) { |
| 40 return false; | 40 return false; |
| 41 } | 41 } |
| 42 | 42 |
| 43 const base::DictionaryValue* ExtensionAPI::GetSchema( | 43 const base::DictionaryValue* ExtensionAPI::GetSchema( |
| 44 const std::string& full_name) { | 44 const std::string& full_name) { |
| 45 return NULL; | 45 return NULL; |
| 46 } | 46 } |
| 47 | 47 |
| 48 } // namespace extensions | 48 } // namespace extensions |
| OLD | NEW |