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

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 924793003: Cleanup: Convert const char* kFoo to const char kFoo[]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 } 56 }
57 57
58 namespace user_prefs { 58 namespace user_prefs {
59 class refRegistrySyncable; 59 class refRegistrySyncable;
60 } 60 }
61 61
62 // The default profile implementation. 62 // The default profile implementation.
63 class ProfileImpl : public Profile { 63 class ProfileImpl : public Profile {
64 public: 64 public:
65 // Value written to prefs when the exit type is EXIT_NORMAL. Public for tests. 65 // Value written to prefs when the exit type is EXIT_NORMAL. Public for tests.
66 static const char* const kPrefExitTypeNormal; 66 static const char kPrefExitTypeNormal[];
67 67
68 ~ProfileImpl() override; 68 ~ProfileImpl() override;
69 69
70 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 70 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
71 71
72 // content::BrowserContext implementation: 72 // content::BrowserContext implementation:
73 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( 73 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
74 const base::FilePath& partition_path) override; 74 const base::FilePath& partition_path) override;
75 base::FilePath GetPath() const override; 75 base::FilePath GetPath() const override;
76 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; 76 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // components/keyed_service/content/browser_context_keyed_service_factory.* 272 // components/keyed_service/content/browser_context_keyed_service_factory.*
273 273
274 Profile::Delegate* delegate_; 274 Profile::Delegate* delegate_;
275 275
276 chrome_browser_net::Predictor* predictor_; 276 chrome_browser_net::Predictor* predictor_;
277 277
278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
279 }; 279 };
280 280
281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698