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

Side by Side Diff: extensions/common/permissions/manifest_permission_set.cc

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 5 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 #include "extensions/common/permissions/manifest_permission_set.h" 5 #include "extensions/common/permissions/manifest_permission_set.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
9 #include "base/values.h" 11 #include "base/values.h"
10 #include "extensions/common/error_utils.h" 12 #include "extensions/common/error_utils.h"
11 #include "extensions/common/manifest_constants.h" 13 #include "extensions/common/manifest_constants.h"
12 #include "extensions/common/manifest_handler.h" 14 #include "extensions/common/manifest_handler.h"
13 #include "extensions/common/permissions/manifest_permission.h" 15 #include "extensions/common/permissions/manifest_permission.h"
14 16
15 namespace { 17 namespace {
16 18
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 86
85 if (!CreateManifestPermission(permission_name, permission_value, 87 if (!CreateManifestPermission(permission_name, permission_value,
86 manifest_permissions, error, 88 manifest_permissions, error,
87 unhandled_permissions)) 89 unhandled_permissions))
88 return false; 90 return false;
89 } 91 }
90 return true; 92 return true;
91 } 93 }
92 94
93 } // namespace extensions 95 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/permissions/manifest_permission.h ('k') | extensions/common/permissions/media_galleries_permission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698