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

Unified Diff: content/public/browser/content_browser_client.h

Issue 1164483003: Allow startup with missing V8 snapshot file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback from sky 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index eff374d1c72f409e37044a2475f8b31bc7bdbca1..cfeac8d05641547fd22d49ce501f664c0c79a359 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -270,6 +270,12 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
int child_process_id) {}
+ // This is called on the process launching thread, when files that should be
+ // passed to the client have been opened. It allows command line switches to
+ // be added to tell the client where to find its files.
+ virtual void AppendMappedFileCommandLineSwitches(
+ base::CommandLine* command_line) {}
+
// Returns the locale used by the application.
// This is called on the UI and IO threads.
virtual std::string GetApplicationLocale();

Powered by Google App Engine
This is Rietveld 408576698