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

Side by Side Diff: chrome/browser/first_run/first_run_unittest.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/basictypes.h"
6 #include "base/compiler_specific.h" 5 #include "base/compiler_specific.h"
7 #include "base/files/file_util.h" 6 #include "base/files/file_util.h"
7 #include "base/macros.h"
8 #include "base/test/scoped_path_override.h" 8 #include "base/test/scoped_path_override.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/first_run/first_run.h" 10 #include "chrome/browser/first_run/first_run.h"
11 #include "chrome/browser/first_run/first_run_internal.h" 11 #include "chrome/browser/first_run/first_run_internal.h"
12 #include "chrome/common/chrome_paths.h" 12 #include "chrome/common/chrome_paths.h"
13 #include "chrome/installer/util/master_preferences.h" 13 #include "chrome/installer/util/master_preferences.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace first_run { 16 namespace first_run {
17 17
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 TEST_F(FirstRunTest, 80 TEST_F(FirstRunTest,
81 SetupMasterPrefsFromInstallPrefs_WelcomePageOnOSUpgradeDisabled) { 81 SetupMasterPrefsFromInstallPrefs_WelcomePageOnOSUpgradeDisabled) {
82 installer::MasterPreferences install_prefs( 82 installer::MasterPreferences install_prefs(
83 "{\"distribution\":{\"welcome_page_on_os_upgrade_enabled\": false}}"); 83 "{\"distribution\":{\"welcome_page_on_os_upgrade_enabled\": false}}");
84 MasterPrefs out_prefs; 84 MasterPrefs out_prefs;
85 internal::SetupMasterPrefsFromInstallPrefs(install_prefs, &out_prefs); 85 internal::SetupMasterPrefsFromInstallPrefs(install_prefs, &out_prefs);
86 EXPECT_FALSE(out_prefs.welcome_page_on_os_upgrade_enabled); 86 EXPECT_FALSE(out_prefs.welcome_page_on_os_upgrade_enabled);
87 } 87 }
88 88
89 } // namespace first_run 89 } // namespace first_run
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run_internal_win.cc ('k') | chrome/browser/first_run/try_chrome_dialog_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698