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

Unified Diff: chrome/browser/ui/startup/autolaunch_prompt_win.cc

Issue 10690060: startup: Put it in chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/ui/startup/autolaunch_prompt.cc ('k') | chrome/browser/ui/startup/bad_flags_prompt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/startup/autolaunch_prompt_win.cc
diff --git a/chrome/browser/ui/startup/autolaunch_prompt_win.cc b/chrome/browser/ui/startup/autolaunch_prompt_win.cc
index 34b9307e4efea7eea4eaf0f0b58f46059124c255..a21910aef59419f8fd8cafbc9e6d16aeea484575 100644
--- a/chrome/browser/ui/startup/autolaunch_prompt_win.cc
+++ b/chrome/browser/ui/startup/autolaunch_prompt_win.cc
@@ -9,9 +9,9 @@
#include "base/utf_string_conversions.h"
#include "chrome/browser/auto_launch_trial.h"
#include "chrome/browser/first_run/first_run.h"
+#include "chrome/browser/infobars/infobar_tab_helper.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/infobars/infobar_tab_helper.h"
#include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
@@ -34,7 +34,7 @@ using content::BrowserThread;
namespace {
-static const int kMaxInfobarShown = 5;
+const int kMaxInfobarShown = 5;
// The delegate for the infobar shown when Chrome was auto-launched.
class AutolaunchInfoBarDelegate : public ConfirmInfoBarDelegate {
@@ -169,7 +169,7 @@ void CheckAutoLaunchCallback(Profile* profile) {
} // namespace
-namespace browser {
+namespace chrome {
bool ShowAutolaunchPrompt(Profile* profile) {
if (!auto_launch_trial::IsInAutoLaunchGroup())
@@ -204,5 +204,4 @@ void RegisterAutolaunchPrefs(PrefService* prefs) {
prefs::kShownAutoLaunchInfobar, 0, PrefService::UNSYNCABLE_PREF);
}
-} // namespace browser
-
+} // namespace chrome
« no previous file with comments | « chrome/browser/ui/startup/autolaunch_prompt.cc ('k') | chrome/browser/ui/startup/bad_flags_prompt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698