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

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

Issue 12316077: Move the parsing of app.launch related keys out of Extension class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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_APP_LAUNCH_MANIFEST_PARSER_H_
6 #define CHROME_BROWSER_EXTENSIONS_APP_LAUNCH_MANIFEST_PARSER_H_
7
8 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
9
10 class Profile;
11
12 namespace extensions {
13
14 class AppLaunchManifestParser : public ProfileKeyedAPI {
15 public:
16 explicit AppLaunchManifestParser(Profile* profile);
17 virtual ~AppLaunchManifestParser();
18
19 // ProfileKeyedAPI implementation.
20 static ProfileKeyedAPIFactory<AppLaunchManifestParser>*
21 GetFactoryInstance();
22
23 private:
24 friend class ProfileKeyedAPIFactory<AppLaunchManifestParser>;
25
26 // ProfileKeyedAPI implementation.
27 static const char* service_name() {
28 return "AppLaunchManifestParser";
29 }
30 static const bool kServiceIsNULLWhileTesting = true;
31
32 DISALLOW_COPY_AND_ASSIGN(AppLaunchManifestParser);
33 };
34
35 } // namespace extensions
36
37 #endif // CHROME_BROWSER_EXTENSIONS_APP_LAUNCH_MANIFEST_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/management/management_api.cc ('k') | chrome/browser/extensions/app_launch_manifest_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698