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

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

Issue 10407124: Don't force non-session only cookies to be session only cookies, instead delete on shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 156f0770e448d7af14d1d10ebd3b4c827d491763..093ace4fc8be30bc6e60a47918b61826c56c0f6e 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -16,6 +16,7 @@
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/content_settings/host_content_settings_map.h"
#include "chrome/browser/extensions/default_apps_trial.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_system.h"
@@ -647,6 +648,8 @@ void ProfileManager::DoFinalInitForServices(Profile* profile,
bool go_off_the_record) {
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
ExtensionSystem::Get(profile)->Init(!go_off_the_record);
+ profile->GetHostContentSettingsMap()->RegisterExtensionService(
+ ExtensionSystem::Get(profile)->extension_service());
if (!command_line.HasSwitch(switches::kDisableWebResources))
profile->InitPromoResources();
}

Powered by Google App Engine
This is Rietveld 408576698