summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index bb3d1c3..9b71bde 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -117,6 +117,10 @@
#include "views/focus/accelerator_handler.h"
#endif
+#if defined(OS_CHROMEOS)
+#include "chrome/browser/chromeos/external_cookie_handler.h"
+#endif
+
namespace Platform {
void WillInitializeMainMessageLoop(const MainFunctionParams& parameters);
@@ -793,6 +797,10 @@ int BrowserMain(const MainFunctionParams& parameters) {
if (parsed_command_line.HasSwitch(switches::kEnableWebResources))
profile->InitWebResources();
+#if defined(OS_CHROMEOS)
+ ExternalCookieHandler::GetCookies(parsed_command_line, profile);
+#endif
+
// Stat the directory with the inspector's files so that we can know if we
// should display the entry in the context menu or not.
browser_process->CheckForInspectorFiles();