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

Side by Side Diff: chrome/common/extensions/api/page_launcher/page_launcher_handler.h

Issue 12253022: Manifest handler for all keys background-related. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 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_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_
6 #define CHROME_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_ 6 #define CHROME_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "chrome/common/extensions/manifest_handler.h" 11 #include "chrome/common/extensions/manifest_handler.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 class Extension; 14 class Extension;
15 15
16 // Parses the "page_launcher" manifest key. 16 // Parses the "page_launcher" manifest key.
17 class PageLauncherHandler : public ManifestHandler { 17 class PageLauncherHandler : public ManifestHandler {
18 public: 18 public:
19 PageLauncherHandler(); 19 PageLauncherHandler();
20 virtual ~PageLauncherHandler(); 20 virtual ~PageLauncherHandler();
21 21
22 virtual bool Parse(Extension* extension, string16* error) OVERRIDE; 22 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
23
23 private: 24 private:
25 virtual const std::vector<std::string> Keys() const OVERRIDE;
26
24 DISALLOW_COPY_AND_ASSIGN(PageLauncherHandler); 27 DISALLOW_COPY_AND_ASSIGN(PageLauncherHandler);
25 }; 28 };
26 } // namespace extensions 29 } // namespace extensions
27 30
28 #endif // CHROME_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_ 31 #endif // CHROME_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698