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

Side by Side Diff: chrome/browser/chromeos/login/signin/oauth2_browsertest.cc

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 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 <string> 5 #include <string>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/ui/browser_tabstrip.h" 23 #include "chrome/browser/ui/browser_tabstrip.h"
24 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" 24 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h"
25 #include "chrome/browser/ui/tabs/tab_strip_model.h" 25 #include "chrome/browser/ui/tabs/tab_strip_model.h"
26 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" 26 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
27 #include "chrome/common/chrome_switches.h" 27 #include "chrome/common/chrome_switches.h"
28 #include "chrome/test/base/ui_test_utils.h" 28 #include "chrome/test/base/ui_test_utils.h"
29 #include "chromeos/login/auth/key.h" 29 #include "chromeos/login/auth/key.h"
30 #include "chromeos/login/auth/user_context.h" 30 #include "chromeos/login/auth/user_context.h"
31 #include "components/app_modal/javascript_app_modal_dialog.h" 31 #include "components/app_modal/javascript_app_modal_dialog.h"
32 #include "components/app_modal/native_app_modal_dialog.h" 32 #include "components/app_modal/native_app_modal_dialog.h"
33 #include "components/browser_sync/common/browser_sync_switches.h" 33 #include "components/browser_sync/browser_sync_switches.h"
34 #include "components/prefs/pref_service.h" 34 #include "components/prefs/pref_service.h"
35 #include "components/signin/core/account_id/account_id.h" 35 #include "components/signin/core/account_id/account_id.h"
36 #include "components/signin/core/browser/account_tracker_service.h" 36 #include "components/signin/core/browser/account_tracker_service.h"
37 #include "components/signin/core/browser/profile_oauth2_token_service.h" 37 #include "components/signin/core/browser/profile_oauth2_token_service.h"
38 #include "components/user_manager/user.h" 38 #include "components/user_manager/user.h"
39 #include "components/user_manager/user_manager.h" 39 #include "components/user_manager/user_manager.h"
40 #include "content/public/browser/notification_service.h" 40 #include "content/public/browser/notification_service.h"
41 #include "content/public/test/browser_test_utils.h" 41 #include "content/public/test/browser_test_utils.h"
42 #include "extensions/browser/process_manager.h" 42 #include "extensions/browser/process_manager.h"
43 #include "extensions/test/extension_test_message_listener.h" 43 #include "extensions/test/extension_test_message_listener.h"
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 805
806 if (!catcher.GetNextResult()) { 806 if (!catcher.GetNextResult()) {
807 std::string message = catcher.message(); 807 std::string message = catcher.message();
808 ADD_FAILURE() << "Tests failed: " << message; 808 ADD_FAILURE() << "Tests failed: " << message;
809 } 809 }
810 810
811 EXPECT_TRUE(fake_google_.IsPageRequested()); 811 EXPECT_TRUE(fake_google_.IsPageRequested());
812 } 812 }
813 813
814 } // namespace chromeos 814 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698