Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: chrome/common/extensions/manifest_handler.cc

Issue 11882025: Move "oauth2" manifest key parsing out of Extension class. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698