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

Side by Side Diff: chrome/browser/profiles/profile_window.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 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>
8
7 #include "base/command_line.h" 9 #include "base/command_line.h"
8 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/macros.h"
9 #include "base/prefs/pref_service.h" 12 #include "base/prefs/pref_service.h"
10 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "build/build_config.h"
12 #include "chrome/browser/about_flags.h" 16 #include "chrome/browser/about_flags.h"
13 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/lifetime/application_lifetime.h" 18 #include "chrome/browser/lifetime/application_lifetime.h"
15 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/profiles/profile_avatar_icon_util.h" 20 #include "chrome/browser/profiles/profile_avatar_icon_util.h"
17 #include "chrome/browser/profiles/profile_manager.h" 21 #include "chrome/browser/profiles/profile_manager.h"
18 #include "chrome/browser/signin/account_reconcilor_factory.h" 22 #include "chrome/browser/signin/account_reconcilor_factory.h"
19 #include "chrome/browser/signin/account_tracker_service_factory.h" 23 #include "chrome/browser/signin/account_tracker_service_factory.h"
20 #include "chrome/browser/signin/signin_manager_factory.h" 24 #include "chrome/browser/signin/signin_manager_factory.h"
21 #include "chrome/browser/signin/signin_ui_util.h" 25 #include "chrome/browser/signin/signin_ui_util.h"
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 PrefService* local_state = g_browser_process->local_state(); 559 PrefService* local_state = g_browser_process->local_state();
556 const bool dismissed = local_state->GetBoolean( 560 const bool dismissed = local_state->GetBoolean(
557 prefs::kProfileAvatarRightClickTutorialDismissed); 561 prefs::kProfileAvatarRightClickTutorialDismissed);
558 562
559 // Don't show the tutorial if it's already been dismissed or if right-clicking 563 // Don't show the tutorial if it's already been dismissed or if right-clicking
560 // wouldn't show any targets. 564 // wouldn't show any targets.
561 return !dismissed && HasProfileSwitchTargets(profile); 565 return !dismissed && HasProfileSwitchTargets(profile);
562 } 566 }
563 567
564 } // namespace profiles 568 } // namespace profiles
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_window.h ('k') | chrome/browser/profiles/profile_window_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698