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

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: rebase again Created 5 years 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
« no previous file with comments | « chrome/browser/net/dns_probe_runner.cc ('k') | chrome/browser/profiles/profile_impl.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 // 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 namespace user_prefs { 65 namespace user_prefs {
66 class refRegistrySyncable; 66 class refRegistrySyncable;
67 } 67 }
68 68
69 // The default profile implementation. 69 // The default profile implementation.
70 class ProfileImpl : public Profile { 70 class ProfileImpl : public Profile {
71 public: 71 public:
72 // Value written to prefs when the exit type is EXIT_NORMAL. Public for tests. 72 // Value written to prefs when the exit type is EXIT_NORMAL. Public for tests.
73 static const char* const kPrefExitTypeNormal; 73 static const char kPrefExitTypeNormal[];
74 74
75 ~ProfileImpl() override; 75 ~ProfileImpl() override;
76 76
77 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 77 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
78 78
79 // content::BrowserContext implementation: 79 // content::BrowserContext implementation:
80 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( 80 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
81 const base::FilePath& partition_path) override; 81 const base::FilePath& partition_path) override;
82 base::FilePath GetPath() const override; 82 base::FilePath GetPath() const override;
83 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; 83 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 // components/keyed_service/content/browser_context_keyed_service_factory.* 278 // components/keyed_service/content/browser_context_keyed_service_factory.*
279 279
280 Profile::Delegate* delegate_; 280 Profile::Delegate* delegate_;
281 281
282 chrome_browser_net::Predictor* predictor_; 282 chrome_browser_net::Predictor* predictor_;
283 283
284 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 284 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
285 }; 285 };
286 286
287 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 287 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/dns_probe_runner.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698