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

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

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 7 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
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_AUTOLAUNCH_PROMPT_H_ 5 #ifndef CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_
6 #define CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_ 6 #define CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_
7 7
8 class Browser;
9
10 namespace user_prefs {
8 class PrefRegistrySyncable; 11 class PrefRegistrySyncable;
9 class Browser; 12 }
10 13
11 namespace chrome { 14 namespace chrome {
12 15
13 // Determines whether or not the auto-launch prompt should be shown, and shows 16 // Determines whether or not the auto-launch prompt should be shown, and shows
14 // it as needed. Returns true if it was shown, false otherwise. 17 // it as needed. Returns true if it was shown, false otherwise.
15 bool ShowAutolaunchPrompt(Browser* browser); 18 bool ShowAutolaunchPrompt(Browser* browser);
16 19
17 // Registers auto-launch specific prefs. 20 // Registers auto-launch specific prefs.
18 void RegisterAutolaunchUserPrefs(PrefRegistrySyncable* registry); 21 void RegisterAutolaunchUserPrefs(user_prefs::PrefRegistrySyncable* registry);
19 22
20 } // namespace chrome 23 } // namespace chrome
21 24
22 #endif // CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_ 25 #endif // CHROME_BROWSER_UI_STARTUP_AUTOLAUNCH_PROMPT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/prefs/prefs_tab_helper.cc ('k') | chrome/browser/ui/startup/autolaunch_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698