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

Side by Side Diff: chrome/browser/profiles/profile_window.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/profiles/profile_window.h" 5 #include "chrome/browser/profiles/profile_window.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 20 matching lines...) Expand all
31 #include "chrome/browser/signin/signin_manager_factory.h" 31 #include "chrome/browser/signin/signin_manager_factory.h"
32 #include "chrome/browser/signin/signin_ui_util.h" 32 #include "chrome/browser/signin/signin_ui_util.h"
33 #include "chrome/browser/sync/profile_sync_service_factory.h" 33 #include "chrome/browser/sync/profile_sync_service_factory.h"
34 #include "chrome/browser/ui/browser.h" 34 #include "chrome/browser/ui/browser.h"
35 #include "chrome/browser/ui/browser_dialogs.h" 35 #include "chrome/browser/ui/browser_dialogs.h"
36 #include "chrome/browser/ui/profile_chooser_constants.h" 36 #include "chrome/browser/ui/profile_chooser_constants.h"
37 #include "chrome/browser/ui/user_manager.h" 37 #include "chrome/browser/ui/user_manager.h"
38 #include "chrome/common/chrome_features.h" 38 #include "chrome/common/chrome_features.h"
39 #include "chrome/common/pref_names.h" 39 #include "chrome/common/pref_names.h"
40 #include "chrome/common/url_constants.h" 40 #include "chrome/common/url_constants.h"
41 #include "components/browser_sync/browser/profile_sync_service.h" 41 #include "components/browser_sync/profile_sync_service.h"
42 #include "components/flags_ui/pref_service_flags_storage.h" 42 #include "components/flags_ui/pref_service_flags_storage.h"
43 #include "components/prefs/pref_service.h" 43 #include "components/prefs/pref_service.h"
44 #include "components/signin/core/browser/account_reconcilor.h" 44 #include "components/signin/core/browser/account_reconcilor.h"
45 #include "components/signin/core/browser/account_tracker_service.h" 45 #include "components/signin/core/browser/account_tracker_service.h"
46 #include "components/signin/core/browser/signin_manager.h" 46 #include "components/signin/core/browser/signin_manager.h"
47 #include "components/signin/core/common/profile_management_switches.h" 47 #include "components/signin/core/common/profile_management_switches.h"
48 #include "components/signin/core/common/signin_pref_names.h" 48 #include "components/signin/core/common/signin_pref_names.h"
49 #include "components/signin/core/common/signin_switches.h" 49 #include "components/signin/core/common/signin_switches.h"
50 #include "content/public/browser/browser_thread.h" 50 #include "content/public/browser/browser_thread.h"
51 #include "content/public/browser/user_metrics.h" 51 #include "content/public/browser/user_metrics.h"
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 PrefService* local_state = g_browser_process->local_state(); 529 PrefService* local_state = g_browser_process->local_state();
530 const bool dismissed = local_state->GetBoolean( 530 const bool dismissed = local_state->GetBoolean(
531 prefs::kProfileAvatarRightClickTutorialDismissed); 531 prefs::kProfileAvatarRightClickTutorialDismissed);
532 532
533 // Don't show the tutorial if it's already been dismissed or if right-clicking 533 // Don't show the tutorial if it's already been dismissed or if right-clicking
534 // wouldn't show any targets. 534 // wouldn't show any targets.
535 return !dismissed && HasProfileSwitchTargets(profile); 535 return !dismissed && HasProfileSwitchTargets(profile);
536 } 536 }
537 537
538 } // namespace profiles 538 } // namespace profiles
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/search/suggestions/suggestions_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698