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

Side by Side Diff: chrome/browser/extensions/manifest_url_parser.h

Issue 11624036: Move the parsing of homepage_url" and "devtools_page" out of Extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: patch-rebased- 2 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
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 #ifndef CHROME_BROWSER_EXTENSIONS_WEB_INTENTS_PARSER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_MANIFEST_URL_PARSER_H_
6 #define CHROME_BROWSER_EXTENSIONS_WEB_INTENTS_PARSER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_MANIFEST_URL_PARSER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" 9 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
10 10
11 class Profile; 11 class Profile;
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 class WebIntentsParser : public ProfileKeyedAPI { 15 class ManifestURLParser : public ProfileKeyedAPI {
16 public: 16 public:
17 explicit WebIntentsParser(Profile* profile); 17 explicit ManifestURLParser(Profile* profile);
18 virtual ~WebIntentsParser(); 18 virtual ~ManifestURLParser();
19 19
20 // ProfileKeyedAPI implementation. 20 // ProfileKeyedAPI implementation.
21 static ProfileKeyedAPIFactory<WebIntentsParser>* GetFactoryInstance(); 21 static ProfileKeyedAPIFactory<ManifestURLParser>* GetFactoryInstance();
22 22
23 private: 23 private:
24 friend class ProfileKeyedAPIFactory<WebIntentsParser>; 24 friend class ProfileKeyedAPIFactory<ManifestURLParser>;
25 25
26 // ProfileKeyedAPI implementation. 26 // ProfileKeyedAPI implementation.
27 static const char* service_name() { 27 static const char* service_name() {
28 return "WebIntentsParser"; 28 return "ManifestURLParser";
29 } 29 }
30 static const bool kServiceIsNULLWhileTesting = true; 30 static const bool kServiceIsNULLWhileTesting = true;
31 31
32 DISALLOW_COPY_AND_ASSIGN(WebIntentsParser); 32 DISALLOW_COPY_AND_ASSIGN(ManifestURLParser);
33 }; 33 };
34 34
35 } // namespace extensions 35 } // namespace extensions
36 36
37 #endif // CHROME_BROWSER_EXTENSIONS_WEB_INTENTS_PARSER_H_ 37 #endif // CHROME_BROWSER_EXTENSIONS_MANIFEST_URL_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_context_menu_model.cc ('k') | chrome/browser/extensions/manifest_url_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698