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

Unified Diff: mojo/runner/desktop/main.cc

Issue 1179413010: mandoline filesystem: Save cookie data to the mojo:filesystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sqlite-fs
Patch Set: Have mojo_runner responsible for handling the temporary directory. Created 5 years, 6 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: mojo/runner/desktop/main.cc
diff --git a/mojo/runner/desktop/main.cc b/mojo/runner/desktop/main.cc
index 1764c3f110008845807b793be043b98fdb7c5e87..b6089c70c47e1d912d4bb6eef49d2e1552b08d09 100644
--- a/mojo/runner/desktop/main.cc
+++ b/mojo/runner/desktop/main.cc
@@ -7,6 +7,7 @@
#include "mojo/runner/child_process.h"
#include "mojo/runner/desktop/launcher_process.h"
#include "mojo/runner/init.h"
+#include "mojo/runner/scoped_user_data_dir.h"
#include "mojo/runner/switches.h"
int main(int argc, char** argv) {
@@ -15,6 +16,8 @@ int main(int argc, char** argv) {
mojo::runner::InitializeLogging();
+ mojo::runner::ScopedUserDataDir scoped_user_data_dir;
+
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
if (command_line.HasSwitch(switches::kChildProcess))

Powered by Google App Engine
This is Rietveld 408576698