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

Side by Side Diff: chrome/browser/ui/sync/one_click_signin_sync_starter.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 (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 "chrome/browser/ui/sync/one_click_signin_sync_starter.h" 5 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/prefs/pref_service.h"
11 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
12 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "components/prefs/pref_service.h"
13 13
14 #if defined(ENABLE_CONFIGURATION_POLICY) 14 #if defined(ENABLE_CONFIGURATION_POLICY)
15 #include "chrome/browser/policy/cloud/user_policy_signin_service.h" 15 #include "chrome/browser/policy/cloud/user_policy_signin_service.h"
16 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" 16 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h"
17 #endif 17 #endif
18 18
19 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/profiles/profile_avatar_icon_util.h" 20 #include "chrome/browser/profiles/profile_avatar_icon_util.h"
21 #include "chrome/browser/profiles/profile_info_cache.h" 21 #include "chrome/browser/profiles/profile_info_cache.h"
22 #include "chrome/browser/profiles/profile_io_data.h" 22 #include "chrome/browser/profiles/profile_io_data.h"
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 false /* user_gesture */); 655 false /* user_gesture */);
656 } 656 }
657 657
658 void OneClickSigninSyncStarter::LoadContinueUrl() { 658 void OneClickSigninSyncStarter::LoadContinueUrl() {
659 web_contents()->GetController().LoadURL( 659 web_contents()->GetController().LoadURL(
660 continue_url_, 660 continue_url_,
661 content::Referrer(), 661 content::Referrer(),
662 ui::PAGE_TRANSITION_AUTO_TOPLEVEL, 662 ui::PAGE_TRANSITION_AUTO_TOPLEVEL,
663 std::string()); 663 std::string());
664 } 664 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698