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

Unified Diff: chrome/browser/browser_init.h

Issue 490019: Show an infobar when the user is using an unsupported flag. (Closed)
Patch Set: logic bug Created 11 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
« no previous file with comments | « no previous file | chrome/browser/browser_init.cc » ('j') | chrome/browser/browser_init.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_init.h
diff --git a/chrome/browser/browser_init.h b/chrome/browser/browser_init.h
index 9ac3a99a71b9be8b148b9ce997b81ab50800f1f1..4afa2c7ff82d6b18ce7e9033c032218113c033e1 100644
--- a/chrome/browser/browser_init.h
+++ b/chrome/browser/browser_init.h
@@ -115,6 +115,10 @@ class BrowserInit {
// an infobar is added allowing the user to restore the last session.
void AddCrashedInfoBarIfNecessary(TabContents* tab);
+ // If we have been started with unsupported flags like --single-process,
+ // politely nag the user about it.
+ void AddBadFlagsInfoBarIfNecessary(TabContents* tab);
+
// Returns the list of URLs to open from the command line. The returned
// vector is empty if the user didn't specify any URLs on the command line.
std::vector<GURL> GetURLsFromCommandLine(Profile* profile);
« no previous file with comments | « no previous file | chrome/browser/browser_init.cc » ('j') | chrome/browser/browser_init.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698