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

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

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 4 years, 12 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
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_PERMISSION_SET_H_ 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_SET_H_
6 #define EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_SET_H_ 6 #define EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_SET_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "extensions/common/permissions/api_permission.h" 14 #include "extensions/common/permissions/api_permission.h"
14 #include "extensions/common/permissions/api_permission_set.h" 15 #include "extensions/common/permissions/api_permission_set.h"
15 #include "extensions/common/permissions/manifest_permission.h" 16 #include "extensions/common/permissions/manifest_permission.h"
16 #include "extensions/common/permissions/manifest_permission_set.h" 17 #include "extensions/common/permissions/manifest_permission_set.h"
17 #include "extensions/common/url_pattern_set.h" 18 #include "extensions/common/url_pattern_set.h"
18 19
19 namespace extensions { 20 namespace extensions {
20 21
21 // The PermissionSet is an immutable class that encapsulates an 22 // The PermissionSet is an immutable class that encapsulates an
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // Cache whether this set implies access to all hosts, because it's 166 // Cache whether this set implies access to all hosts, because it's
166 // non-trivial to compute (lazily initialized). 167 // non-trivial to compute (lazily initialized).
167 mutable ShouldWarnAllHostsType should_warn_all_hosts_; 168 mutable ShouldWarnAllHostsType should_warn_all_hosts_;
168 169
169 DISALLOW_ASSIGN(PermissionSet); 170 DISALLOW_ASSIGN(PermissionSet);
170 }; 171 };
171 172
172 } // namespace extensions 173 } // namespace extensions
173 174
174 #endif // EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_SET_H_ 175 #endif // EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_SET_H_
OLDNEW
« no previous file with comments | « extensions/common/permissions/permission_message_util.cc ('k') | extensions/common/permissions/permissions_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698