OLD | NEW |
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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/download/download_prefs.h" | 9 #include "chrome/browser/download/download_prefs.h" |
10 #include "chrome/browser/net/prediction_options.h" | 10 #include "chrome/browser/net/prediction_options.h" |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 230 |
231 EXPECT_EQ(chrome_browser_net::NETWORK_PREDICTION_NEVER, | 231 EXPECT_EQ(chrome_browser_net::NETWORK_PREDICTION_NEVER, |
232 prefs->GetInteger(prefs::kNetworkPredictionOptions)); | 232 prefs->GetInteger(prefs::kNetworkPredictionOptions)); |
233 EXPECT_FALSE(prefs->GetBoolean(prefs::kSafeBrowsingEnabled)); | 233 EXPECT_FALSE(prefs->GetBoolean(prefs::kSafeBrowsingEnabled)); |
234 EXPECT_FALSE(prefs->GetBoolean(prefs::kAlternateErrorPagesEnabled)); | 234 EXPECT_FALSE(prefs->GetBoolean(prefs::kAlternateErrorPagesEnabled)); |
235 EXPECT_FALSE(prefs->GetBoolean(prefs::kSearchSuggestEnabled)); | 235 EXPECT_FALSE(prefs->GetBoolean(prefs::kSearchSuggestEnabled)); |
236 } | 236 } |
237 | 237 |
238 // Verify that we have some Local State prefs. | 238 // Verify that we have some Local State prefs. |
239 IN_PROC_BROWSER_TEST_F(PrefsFunctionalTest, TestHaveLocalStatePrefs) { | 239 IN_PROC_BROWSER_TEST_F(PrefsFunctionalTest, TestHaveLocalStatePrefs) { |
240 EXPECT_TRUE(g_browser_process->local_state()->GetPreferenceValues().get()); | 240 EXPECT_TRUE(g_browser_process->local_state() |
| 241 ->GetPreferenceValues(PrefService::INCLUDE_DEFAULTS) |
| 242 .get()); |
241 } | 243 } |
OLD | NEW |