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

Side by Side Diff: chrome/browser/extensions/api/preference/preference_apitest.cc

Issue 1307943011: Simple variable renaming: remove transport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 (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 "base/location.h" 5 #include "base/location.h"
6 #include "base/prefs/pref_service.h" 6 #include "base/prefs/pref_service.h"
7 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/thread_task_runner_handle.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 prefs->SetBoolean(prefs::kEnableReferrers, false); 117 prefs->SetBoolean(prefs::kEnableReferrers, false);
118 prefs->SetBoolean(prefs::kEnableTranslate, false); 118 prefs->SetBoolean(prefs::kEnableTranslate, false);
119 prefs->SetInteger(prefs::kNetworkPredictionOptions, 119 prefs->SetInteger(prefs::kNetworkPredictionOptions,
120 chrome_browser_net::NETWORK_PREDICTION_NEVER); 120 chrome_browser_net::NETWORK_PREDICTION_NEVER);
121 prefs->SetBoolean(password_manager::prefs::kPasswordManagerSavingEnabled, 121 prefs->SetBoolean(password_manager::prefs::kPasswordManagerSavingEnabled,
122 false); 122 false);
123 prefs->SetBoolean(prefs::kSafeBrowsingEnabled, false); 123 prefs->SetBoolean(prefs::kSafeBrowsingEnabled, false);
124 prefs->SetBoolean(prefs::kSearchSuggestEnabled, false); 124 prefs->SetBoolean(prefs::kSearchSuggestEnabled, false);
125 #if defined(ENABLE_WEBRTC) 125 #if defined(ENABLE_WEBRTC)
126 prefs->SetBoolean(prefs::kWebRTCMultipleRoutesEnabled, false); 126 prefs->SetBoolean(prefs::kWebRTCMultipleRoutesEnabled, false);
127 prefs->SetBoolean(prefs::kWebRTCNonProxiedUdpTransportEnabled, false); 127 prefs->SetBoolean(prefs::kWebRTCNonProxiedUdpEnabled, false);
128 #endif 128 #endif
129 129
130 const char kExtensionPath[] = "preference/standard"; 130 const char kExtensionPath[] = "preference/standard";
131 131
132 EXPECT_TRUE(RunExtensionSubtest(kExtensionPath, "test.html")) << message_; 132 EXPECT_TRUE(RunExtensionSubtest(kExtensionPath, "test.html")) << message_;
133 CheckPreferencesSet(); 133 CheckPreferencesSet();
134 134
135 // The settings should not be reset when the extension is reloaded. 135 // The settings should not be reset when the extension is reloaded.
136 ReloadExtension(last_loaded_extension_id()); 136 ReloadExtension(last_loaded_extension_id());
137 CheckPreferencesSet(); 137 CheckPreferencesSet();
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 341
342 #if defined(OS_WIN) // http://crbug.com/477844 342 #if defined(OS_WIN) // http://crbug.com/477844
343 #define MAYBE_DataReductionProxy DISABLED_DataReductionProxy 343 #define MAYBE_DataReductionProxy DISABLED_DataReductionProxy
344 #else 344 #else
345 #define MAYBE_DataReductionProxy DataReductionProxy 345 #define MAYBE_DataReductionProxy DataReductionProxy
346 #endif 346 #endif
347 IN_PROC_BROWSER_TEST_F(ExtensionPreferenceApiTest, MAYBE_DataReductionProxy) { 347 IN_PROC_BROWSER_TEST_F(ExtensionPreferenceApiTest, MAYBE_DataReductionProxy) {
348 EXPECT_TRUE(RunExtensionTest("preference/data_reduction_proxy")) << 348 EXPECT_TRUE(RunExtensionTest("preference/data_reduction_proxy")) <<
349 message_; 349 message_;
350 } 350 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/preference/preference_api.cc ('k') | chrome/browser/renderer_preferences_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698