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

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

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

Powered by Google App Engine
This is Rietveld 408576698