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

Side by Side Diff: components/proximity_auth/cryptauth/cryptauth_device_manager.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 "components/proximity_auth/cryptauth/cryptauth_device_manager.h" 5 #include "components/proximity_auth/cryptauth/cryptauth_device_manager.h"
6 6
7 #include <stddef.h>
8
7 #include "base/base64url.h" 9 #include "base/base64url.h"
8 #include "base/prefs/pref_registry_simple.h" 10 #include "base/prefs/pref_registry_simple.h"
9 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
10 #include "base/prefs/scoped_user_pref_update.h" 12 #include "base/prefs/scoped_user_pref_update.h"
11 #include "components/proximity_auth/cryptauth/cryptauth_client.h" 13 #include "components/proximity_auth/cryptauth/cryptauth_client.h"
12 #include "components/proximity_auth/cryptauth/pref_names.h" 14 #include "components/proximity_auth/cryptauth/pref_names.h"
13 #include "components/proximity_auth/cryptauth/sync_scheduler_impl.h" 15 #include "components/proximity_auth/cryptauth/sync_scheduler_impl.h"
14 #include "components/proximity_auth/logging/logging.h" 16 #include "components/proximity_auth/logging/logging.h"
15 17
16 namespace proximity_auth { 18 namespace proximity_auth {
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 request.set_invocation_reason(invocation_reason); 297 request.set_invocation_reason(invocation_reason);
296 request.set_allow_stale_read(is_sync_speculative); 298 request.set_allow_stale_read(is_sync_speculative);
297 cryptauth_client_->GetMyDevices( 299 cryptauth_client_->GetMyDevices(
298 request, base::Bind(&CryptAuthDeviceManager::OnGetMyDevicesSuccess, 300 request, base::Bind(&CryptAuthDeviceManager::OnGetMyDevicesSuccess,
299 weak_ptr_factory_.GetWeakPtr()), 301 weak_ptr_factory_.GetWeakPtr()),
300 base::Bind(&CryptAuthDeviceManager::OnGetMyDevicesFailure, 302 base::Bind(&CryptAuthDeviceManager::OnGetMyDevicesFailure,
301 weak_ptr_factory_.GetWeakPtr())); 303 weak_ptr_factory_.GetWeakPtr()));
302 } 304 }
303 305
304 } // namespace proximity_auth 306 } // namespace proximity_auth
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698