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

Unified Diff: chrome/browser/profiles/profile_impl.cc

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: IOS io_thread also initializes DynamicSharedParams Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 9c4752f9e99322b3d7c62c50f15fe83525a7a52e..2d0368173da653f3f1d5638a98e1835ff9e9a618 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -44,6 +44,7 @@
#include "chrome/browser/download/chrome_download_manager_delegate.h"
#include "chrome/browser/download/download_service.h"
#include "chrome/browser/download/download_service_factory.h"
+#include "chrome/browser/net/net_pref_observer.h"
#include "chrome/browser/net/predictor.h"
#include "chrome/browser/net/proxy_service_factory.h"
#include "chrome/browser/permissions/permission_manager.h"
@@ -115,6 +116,7 @@
#include "content/public/common/content_constants.h"
#include "content/public/common/page_zoom.h"
#include "extensions/features/features.h"
+#include "net/http/http_network_session.h"
#include "ppapi/features/features.h"
#include "printing/features/features.h"
#include "ui/base/l10n/l10n_util.h"
@@ -613,6 +615,9 @@ void ProfileImpl::DoFinalInit() {
session_cookie_mode = content::CookieStoreConfig::RESTORED_SESSION_COOKIES;
}
+ DCHECK(!net_pref_observer_);
+ net_pref_observer_.reset(new NetPrefObserver(prefs_.get()));
Bence 2016/12/20 14:58:07 Assign to base::MakeUnique<NetPrefObserver>(prefs_
pmarko 2016/12/20 18:00:37 Done.
+
// Make sure we initialize the ProfileIOData after everything else has been
// initialized that we might be reading from the IO thread.

Powered by Google App Engine
This is Rietveld 408576698