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

Side by Side Diff: components/signin/core/browser/gaia_cookie_manager_service_unittest.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 <algorithm> 5 #include <algorithm>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
13 #include "base/prefs/pref_registry_simple.h" 14 #include "base/prefs/pref_registry_simple.h"
14 #include "base/prefs/testing_pref_service.h" 15 #include "base/prefs/testing_pref_service.h"
15 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
16 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
17 #include "base/test/histogram_tester.h" 18 #include "base/test/histogram_tester.h"
18 #include "base/thread_task_runner_handle.h" 19 #include "base/thread_task_runner_handle.h"
19 #include "components/signin/core/browser/account_tracker_service.h" 20 #include "components/signin/core/browser/account_tracker_service.h"
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 705
705 helper.external_cc_result_fetcher_for_testing()->Start(); 706 helper.external_cc_result_fetcher_for_testing()->Start();
706 707
707 EXPECT_CALL(helper, StartFetchingUbertoken()); 708 EXPECT_CALL(helper, StartFetchingUbertoken());
708 helper.AddAccountToCookie("acc2@gmail.com"); 709 helper.AddAccountToCookie("acc2@gmail.com");
709 // There is already a ExternalCCResultFetch underway. This will trigger 710 // There is already a ExternalCCResultFetch underway. This will trigger
710 // StartFetchingMergeSession. 711 // StartFetchingMergeSession.
711 EXPECT_CALL(helper, StartFetchingMergeSession()); 712 EXPECT_CALL(helper, StartFetchingMergeSession());
712 SimulateUbertokenSuccess(&helper, "token3"); 713 SimulateUbertokenSuccess(&helper, "token3");
713 } 714 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698