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

Side by Side Diff: chrome/browser/signin/signin_manager_unittest.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/signin_manager.h" 5 #include "components/signin/core/browser/signin_manager.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/run_loop.h" 15 #include "base/run_loop.h"
16 #include "base/strings/stringprintf.h"
17 #include "chrome/browser/browser_process.h" 16 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/chrome_notification_types.h" 17 #include "chrome/browser/chrome_notification_types.h"
19 #include "chrome/browser/prefs/browser_prefs.h" 18 #include "chrome/browser/prefs/browser_prefs.h"
20 #include "chrome/browser/signin/account_fetcher_service_factory.h" 19 #include "chrome/browser/signin/account_fetcher_service_factory.h"
21 #include "chrome/browser/signin/account_tracker_service_factory.h" 20 #include "chrome/browser/signin/account_tracker_service_factory.h"
22 #include "chrome/browser/signin/chrome_signin_client_factory.h" 21 #include "chrome/browser/signin/chrome_signin_client_factory.h"
23 #include "chrome/browser/signin/fake_account_fetcher_service_builder.h" 22 #include "chrome/browser/signin/fake_account_fetcher_service_builder.h"
24 #include "chrome/browser/signin/fake_profile_oauth2_token_service_builder.h" 23 #include "chrome/browser/signin/fake_profile_oauth2_token_service_builder.h"
25 #include "chrome/browser/signin/gaia_cookie_manager_service_factory.h" 24 #include "chrome/browser/signin/gaia_cookie_manager_service_factory.h"
26 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 25 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 588
590 EXPECT_EQ(gaia_id, manager_->GetAuthenticatedAccountId()); 589 EXPECT_EQ(gaia_id, manager_->GetAuthenticatedAccountId());
591 EXPECT_EQ(gaia_id, profile()->GetPrefs()->GetString( 590 EXPECT_EQ(gaia_id, profile()->GetPrefs()->GetString(
592 prefs::kGoogleServicesAccountId)); 591 prefs::kGoogleServicesAccountId));
593 592
594 base::RunLoop().RunUntilIdle(); 593 base::RunLoop().RunUntilIdle();
595 EXPECT_EQ(AccountTrackerService::MIGRATION_DONE, 594 EXPECT_EQ(AccountTrackerService::MIGRATION_DONE,
596 tracker->GetMigrationState()); 595 tracker->GetMigrationState());
597 } 596 }
598 } 597 }
OLDNEW
« no previous file with comments | « chrome/browser/sessions/tab_loader.cc ('k') | chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698