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

Side by Side Diff: content/browser/permissions/permission_service_impl.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/browser/permissions/permission_service_impl.h" 5 #include "content/browser/permissions/permission_service_impl.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "content/public/browser/browser_context.h" 10 #include "content/public/browser/browser_context.h"
9 #include "content/public/browser/permission_manager.h" 11 #include "content/public/browser/permission_manager.h"
10 #include "content/public/browser/permission_type.h" 12 #include "content/public/browser/permission_type.h"
11 13
12 namespace content { 14 namespace content {
13 15
14 namespace { 16 namespace {
15 17
16 PermissionType PermissionNameToPermissionType(PermissionName name) { 18 PermissionType PermissionNameToPermissionType(PermissionName name) {
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 358
357 PermissionStatusCallback callback = subscription->callback; 359 PermissionStatusCallback callback = subscription->callback;
358 360
359 subscription->callback.reset(); 361 subscription->callback.reset();
360 pending_subscriptions_.Remove(pending_subscription_id); 362 pending_subscriptions_.Remove(pending_subscription_id);
361 363
362 callback.Run(status); 364 callback.Run(status);
363 } 365 }
364 366
365 } // namespace content 367 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/pepper_flash_settings_helper_impl.h ('k') | content/browser/plugin_content_origin_whitelist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698