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

Side by Side Diff: components/signin/core/browser/account_reconcilor.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 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/signin/core/browser/account_reconcilor.h" 5 #include "components/signin/core/browser/account_reconcilor.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/json/json_reader.h" 12 #include "base/json/json_reader.h"
11 #include "base/location.h" 13 #include "base/location.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
14 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
15 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
16 #include "base/time/time.h" 18 #include "base/time/time.h"
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 << "Account added: " << account_id << ", " 492 << "Account added: " << account_id << ", "
491 << "Error was " << error.ToString(); 493 << "Error was " << error.ToString();
492 // Always listens to GaiaCookieManagerService. Only proceed if reconciling. 494 // Always listens to GaiaCookieManagerService. Only proceed if reconciling.
493 if (is_reconcile_started_ && MarkAccountAsAddedToCookie(account_id)) { 495 if (is_reconcile_started_ && MarkAccountAsAddedToCookie(account_id)) {
494 if (error.state() != GoogleServiceAuthError::State::NONE) 496 if (error.state() != GoogleServiceAuthError::State::NONE)
495 error_during_last_reconcile_ = true; 497 error_during_last_reconcile_ = true;
496 CalculateIfReconcileIsDone(); 498 CalculateIfReconcileIsDone();
497 ScheduleStartReconcileIfChromeAccountsChanged(); 499 ScheduleStartReconcileIfChromeAccountsChanged();
498 } 500 }
499 } 501 }
OLDNEW
« no previous file with comments | « components/signin/core/browser/account_reconcilor.h ('k') | components/signin/core/browser/account_tracker_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698