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

Side by Side Diff: chrome/browser/net/net_pref_observer.cc

Issue 6134003: Prototype of chunked transfer encoded POST. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/net/net_pref_observer.h" 5 #include "chrome/browser/net/net_pref_observer.h"
6 6
7 #include "chrome/browser/browser_thread.h" 7 #include "chrome/browser/browser_thread.h"
8 #include "chrome/browser/net/predictor_api.h" 8 #include "chrome/browser/net/predictor_api.h"
9 #include "chrome/browser/prefs/pref_service.h" 9 #include "chrome/browser/prefs/pref_service.h"
10 #include "chrome/common/notification_type.h" 10 #include "chrome/common/notification_type.h"
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 32
33 void NetPrefObserver::ApplySettings() { 33 void NetPrefObserver::ApplySettings() {
34 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 34 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
35 chrome_browser_net::EnablePredictor(*dns_prefetching_enabled_); 35 chrome_browser_net::EnablePredictor(*dns_prefetching_enabled_);
36 net::HttpStreamFactory::set_spdy_enabled(!*spdy_disabled_); 36 net::HttpStreamFactory::set_spdy_enabled(!*spdy_disabled_);
37 } 37 }
38 38
39 // static 39 // static
40 void NetPrefObserver::RegisterPrefs(PrefService* prefs) { 40 void NetPrefObserver::RegisterPrefs(PrefService* prefs) {
41 prefs->RegisterBooleanPref(prefs::kDisableSpdy, false); 41 prefs->RegisterBooleanPref(prefs::kDisableSpdy, true);
vandebo (ex-Chrome) 2011/01/14 05:53:44 Is this a debugging change that shouldn't be in th
Satish 2011/01/14 18:09:29 Yes I will remove it. But I also wanted to ask how
42 } 42 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/speech/speech_recognition_request.h » ('j') | chrome/browser/speech/speech_recognizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698