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

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

Issue 14694010: Consolidate manifest handler registration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_CONTENT_SCRIPTS_PARSER_H_
6 #define CHROME_BROWSER_EXTENSIONS_CONTENT_SCRIPTS_PARSER_H_
7
8 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
9 #include "chrome/browser/profiles/profile_keyed_service.h"
10
11 class Profile;
12
13 namespace extensions {
14
15 // The profile-keyed service that manages the content scripts API.
16 class ContentScriptsParser : public ProfileKeyedAPI {
17 public:
18 explicit ContentScriptsParser(Profile* profile);
19 virtual ~ContentScriptsParser();
20
21 // ProfileKeyedAPI implementation.
22 static ProfileKeyedAPIFactory<ContentScriptsParser>* GetFactoryInstance();
23
24 private:
25 friend class ProfileKeyedAPIFactory<ContentScriptsParser>;
26
27 // ProfileKeyedAPI implementation.
28 static const char* service_name() {
29 return "ContentScriptsParser";
30 }
31
32 DISALLOW_COPY_AND_ASSIGN(ContentScriptsParser);
33 };
34
35 } // namespace extensions
36
37 #endif // CHROME_BROWSER_EXTENSIONS_CONTENT_SCRIPTS_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698