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

Side by Side Diff: chrome/common/extensions/permissions/chrome_permission_message_provider.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVIDER_ H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVIDER_ H_
6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVIDER_ H_ 6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVIDER_ H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "extensions/common/permissions/permission_message_provider.h" 12 #include "extensions/common/permissions/permission_message_provider.h"
13 13
14 namespace extensions { 14 namespace extensions {
15 15
16 // Tested in two places: 16 // Tested in two places:
17 // 1. chrome_permission_message_provider_unittest.cc, which is a regular unit 17 // 1. chrome_permission_message_provider_unittest.cc, which is a regular unit
18 // test for this class 18 // test for this class
19 // 2. chrome/browser/extensions/permission_messages_unittest.cc, which is an 19 // 2. chrome/browser/extensions/permission_messages_unittest.cc, which is an
20 // integration test that ensures messages are correctly generated for 20 // integration test that ensures messages are correctly generated for
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 bool IsHostPrivilegeIncrease(const PermissionSet& old_permissions, 59 bool IsHostPrivilegeIncrease(const PermissionSet& old_permissions,
60 const PermissionSet& new_permissions, 60 const PermissionSet& new_permissions,
61 Manifest::Type extension_type) const; 61 Manifest::Type extension_type) const;
62 62
63 DISALLOW_COPY_AND_ASSIGN(ChromePermissionMessageProvider); 63 DISALLOW_COPY_AND_ASSIGN(ChromePermissionMessageProvider);
64 }; 64 };
65 65
66 } // namespace extensions 66 } // namespace extensions
67 67
68 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVID ER_H_ 68 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVID ER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698