Chromium Code Reviews| Index: chrome/common/extensions/api/extension_api_stub.cc |
| diff --git a/chrome/common/extensions/api/extension_api_stub.cc b/chrome/common/extensions/api/extension_api_stub.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c73870c97b794fd543dec6f93a65e0908b4122f6 |
| --- /dev/null |
| +++ b/chrome/common/extensions/api/extension_api_stub.cc |
| @@ -0,0 +1,23 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/common/extensions/api/extension_api.h" |
| + |
|
Nico
2012/12/03 21:40:38
Please add a comment here that explains why this f
nilesh
2012/12/03 22:41:15
Done.
|
| +namespace extensions { |
| + |
| +// static |
| +ExtensionAPI* ExtensionAPI::GetSharedInstance() { |
| + return NULL; |
| +} |
| + |
| +// static |
| +ExtensionAPI* ExtensionAPI::CreateWithDefaultConfiguration() { |
| + return NULL; |
| +} |
| + |
| +bool ExtensionAPI::IsPrivileged(const std::string& full_name) { |
| + return false; |
| +} |
| + |
| +} // namespace extensions |