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

Side by Side Diff: chrome/common/extensions/csp_handler.h

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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
« no previous file with comments | « chrome/common/extensions/command.cc ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CSP_HANDLER_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_CSP_HANDLER_H_
6 #define CHROME_COMMON_EXTENSIONS_CSP_HANDLER_H_ 6 #define CHROME_COMMON_EXTENSIONS_CSP_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/common/extensions/extension.h" 10 #include "extensions/common/extension.h"
11 #include "extensions/common/manifest_handler.h" 11 #include "extensions/common/manifest_handler.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 // A structure to hold the Content-Security-Policy information. 15 // A structure to hold the Content-Security-Policy information.
16 struct CSPInfo : public Extension::ManifestData { 16 struct CSPInfo : public Extension::ManifestData {
17 explicit CSPInfo(const std::string& security_policy); 17 explicit CSPInfo(const std::string& security_policy);
18 virtual ~CSPInfo(); 18 virtual ~CSPInfo();
19 19
20 // The Content-Security-Policy for an extension. Extensions can use 20 // The Content-Security-Policy for an extension. Extensions can use
(...skipping 24 matching lines...) Expand all
45 virtual const std::vector<std::string> Keys() const OVERRIDE; 45 virtual const std::vector<std::string> Keys() const OVERRIDE;
46 46
47 bool is_platform_app_; 47 bool is_platform_app_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(CSPHandler); 49 DISALLOW_COPY_AND_ASSIGN(CSPHandler);
50 }; 50 };
51 51
52 } // namespace extensions 52 } // namespace extensions
53 53
54 #endif // CHROME_COMMON_EXTENSIONS_CSP_HANDLER_H_ 54 #endif // CHROME_COMMON_EXTENSIONS_CSP_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/command.cc ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698