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

Side by Side Diff: chrome/browser/push_messaging/push_messaging_notification_manager.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/browser/push_messaging/push_messaging_notification_manager.h" 5 #include "chrome/browser/push_messaging/push_messaging_notification_manager.h"
6 6
7 #include <stddef.h>
8
7 #include <bitset> 9 #include <bitset>
8 10
9 #include "base/metrics/histogram_macros.h" 11 #include "base/metrics/histogram_macros.h"
10 #include "base/prefs/pref_service.h" 12 #include "base/prefs/pref_service.h"
11 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
12 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/notifications/platform_notification_service_impl.h" 15 #include "chrome/browser/notifications/platform_notification_service_impl.h"
14 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/push_messaging/push_messaging_constants.h" 17 #include "chrome/browser/push_messaging/push_messaging_constants.h"
16 #include "chrome/common/features.h" 18 #include "chrome/common/features.h"
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 message_handled_closure.Run(); 333 message_handled_closure.Run();
332 return; 334 return;
333 } 335 }
334 336
335 PlatformNotificationServiceImpl::GetInstance()->DisplayPersistentNotification( 337 PlatformNotificationServiceImpl::GetInstance()->DisplayPersistentNotification(
336 profile_, persistent_notification_id, origin, SkBitmap() /* icon */, 338 profile_, persistent_notification_id, origin, SkBitmap() /* icon */,
337 notification_data); 339 notification_data);
338 340
339 message_handled_closure.Run(); 341 message_handled_closure.Run();
340 } 342 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698