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

Side by Side Diff: chrome/browser/prefs/incognito_mode_prefs.h

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,autocomplete} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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_PREFS_INCOGNITO_MODE_PREFS_H_ 5 #ifndef CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_
6 #define CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_ 6 #define CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_
7 #pragma once
8 7
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 9
11 class CommandLine; 10 class CommandLine;
12 class PrefService; 11 class PrefService;
13 12
14 // Specifies Incognito mode availability preferences. 13 // Specifies Incognito mode availability preferences.
15 class IncognitoModePrefs { 14 class IncognitoModePrefs {
16 public: 15 public:
17 // Possible values for Incognito mode availability. Please, do not change 16 // Possible values for Incognito mode availability. Please, do not change
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 48
50 // Returns true if the browser should start in incognito mode. 49 // Returns true if the browser should start in incognito mode.
51 static bool ShouldLaunchIncognito(const CommandLine& command_line, 50 static bool ShouldLaunchIncognito(const CommandLine& command_line,
52 const PrefService* prefs); 51 const PrefService* prefs);
53 52
54 private: 53 private:
55 DISALLOW_IMPLICIT_CONSTRUCTORS(IncognitoModePrefs); 54 DISALLOW_IMPLICIT_CONSTRUCTORS(IncognitoModePrefs);
56 }; 55 };
57 56
58 #endif // CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_ 57 #endif // CHROME_BROWSER_PREFS_INCOGNITO_MODE_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/default_pref_store.h ('k') | chrome/browser/prefs/overlay_user_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698