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/common/extensions/manifest_handler.h" | 5 #include "chrome/common/extensions/manifest_handler.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/memory/linked_ptr.h" | 10 #include "base/memory/linked_ptr.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // static | 74 // static |
75 ManifestHandler* ManifestHandler::Get(const std::string& key) { | 75 ManifestHandler* ManifestHandler::Get(const std::string& key) { |
76 return g_registry.Get().GetManifestHandler(key); | 76 return g_registry.Get().GetManifestHandler(key); |
77 } | 77 } |
78 | 78 |
79 // static | 79 // static |
80 std::vector<std::string> ManifestHandler::GetKeys() { | 80 std::vector<std::string> ManifestHandler::GetKeys() { |
81 return g_registry.Get().GetManifestHandlerKeys(); | 81 return g_registry.Get().GetManifestHandlerKeys(); |
82 } | 82 } |
83 | 83 |
| 84 bool ManifestHandler::HasNoKey(Extension* extension, string16* error) { |
| 85 return true; |
| 86 } |
| 87 |
84 } // namespace extensions | 88 } // namespace extensions |
OLD | NEW |