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

Side by Side Diff: extensions/common/permissions/manifest_permission.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 EXTENSIONS_COMMON_PERMISSIONS_MANIFEST_PERMISSION_H_ 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_MANIFEST_PERMISSION_H_
6 #define EXTENSIONS_COMMON_PERMISSIONS_MANIFEST_PERMISSION_H_ 6 #define EXTENSIONS_COMMON_PERMISSIONS_MANIFEST_PERMISSION_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/pickle.h" 12 #include "base/pickle.h"
13 #include "extensions/common/permissions/api_permission_set.h" 13 #include "extensions/common/permissions/api_permission_set.h"
14 14
15 namespace base { 15 namespace base {
16 class PickleIterator; 16 class PickleIterator;
17 class Value; 17 class Value;
18 } 18 }
19 19
20 namespace IPC {
21 class Message;
22 }
23
24 namespace extensions { 20 namespace extensions {
25 21
26 // Represent the custom behavior of a top-level manifest entry contributing to 22 // Represent the custom behavior of a top-level manifest entry contributing to
27 // permission messages and storage. 23 // permission messages and storage.
28 class ManifestPermission { 24 class ManifestPermission {
29 public: 25 public:
30 ManifestPermission(); 26 ManifestPermission();
31 virtual ~ManifestPermission(); 27 virtual ~ManifestPermission();
32 28
33 // The manifest key this permission applies to. 29 // The manifest key this permission applies to.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // Logs this permission. 76 // Logs this permission.
81 void Log(std::string* log) const; 77 void Log(std::string* log) const;
82 78
83 private: 79 private:
84 DISALLOW_COPY_AND_ASSIGN(ManifestPermission); 80 DISALLOW_COPY_AND_ASSIGN(ManifestPermission);
85 }; 81 };
86 82
87 } // namespace extensions 83 } // namespace extensions
88 84
89 #endif // EXTENSIONS_COMMON_PERMISSIONS_MANIFEST_PERMISSION_H_ 85 #endif // EXTENSIONS_COMMON_PERMISSIONS_MANIFEST_PERMISSION_H_
OLDNEW
« no previous file with comments | « extensions/common/permissions/api_permission_set.h ('k') | extensions/common/permissions/manifest_permission_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698