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

Side by Side Diff: components/gcm_driver/gcm_driver.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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
« no previous file with comments | « components/gcm_driver/gcm_desktop_utils.cc ('k') | components/gcm_driver/gcm_driver_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "components/gcm_driver/gcm_driver.h" 5 #include "components/gcm_driver/gcm_driver.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
11 #include "base/logging.h" 13 #include "base/logging.h"
12 #include "components/gcm_driver/gcm_app_handler.h" 14 #include "components/gcm_driver/gcm_app_handler.h"
13 15
14 namespace gcm { 16 namespace gcm {
15 17
16 namespace { 18 namespace {
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 GCMClient::Result result) { 290 GCMClient::Result result) {
289 // Invoke the original unregister callback. 291 // Invoke the original unregister callback.
290 unregister_callback.Run(result); 292 unregister_callback.Run(result);
291 293
292 // Trigger the pending registration. 294 // Trigger the pending registration.
293 DCHECK(register_callbacks_.find(app_id) != register_callbacks_.end()); 295 DCHECK(register_callbacks_.find(app_id) != register_callbacks_.end());
294 RegisterImpl(app_id, normalized_sender_ids); 296 RegisterImpl(app_id, normalized_sender_ids);
295 } 297 }
296 298
297 } // namespace gcm 299 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_desktop_utils.cc ('k') | components/gcm_driver/gcm_driver_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698