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

Side by Side Diff: chrome/browser/ui/startup/bad_flags_prompt.h

Issue 174253002: Initialize chrome::DIR_USER_DATA early on for service processes, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use dynamic_annotations_win64 for common_constants_win64. Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/ui/startup/bad_flags_prompt.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_ 5 #ifndef CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_
6 #define CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_ 6 #define CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_
7 7
8 class Browser; 8 class Browser;
9 9
10 namespace chrome { 10 namespace chrome {
11 11
12 // Shows a warning notification in |browser| that the app was run with dangerous 12 // Shows a warning notification in |browser| that the app was run with dangerous
13 // command line flags. 13 // command line flags.
14 void ShowBadFlagsPrompt(Browser* browser); 14 void ShowBadFlagsPrompt(Browser* browser);
15 15
16 // Shows a warning dialog if the originally specified user data dir was invalid.
17 void MaybeShowInvalidUserDataDirWarningDialog();
18
16 } // namespace chrome 19 } // namespace chrome
17 20
18 #endif // CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_ 21 #endif // CHROME_BROWSER_UI_STARTUP_BAD_FLAGS_PROMPT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/ui/startup/bad_flags_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698