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

Side by Side Diff: chrome/browser/scoped_pref_update.h

Issue 3026031: browser: Fix some presubmit errors. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/browser/resources_util.h ('k') | chrome/browser/sync/engine/syncer_types.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // A helper class that assists preferences in firing notifications when lists 5 // A helper class that assists preferences in firing notifications when lists
6 // are changed. 6 // are changed.
7 7
8 #ifndef CHROME_BROWSER_SCOPED_PREF_UPDATE_H_ 8 #ifndef CHROME_BROWSER_SCOPED_PREF_UPDATE_H_
9 #define CHROME_BROWSER_SCOPED_PREF_UPDATE_H_ 9 #define CHROME_BROWSER_SCOPED_PREF_UPDATE_H_
10 #pragma once 10 #pragma once
11 11
12 #include "chrome/browser/pref_service.h" 12 #include "chrome/browser/pref_service.h"
13 13
14 class ScopedPrefUpdate { 14 class ScopedPrefUpdate {
15 public: 15 public:
16 ScopedPrefUpdate(PrefService* service, const wchar_t* path); 16 ScopedPrefUpdate(PrefService* service, const wchar_t* path);
17 ~ScopedPrefUpdate(); 17 ~ScopedPrefUpdate();
18 18
19 private: 19 private:
20 PrefService* service_; 20 PrefService* service_;
21 std::wstring path_; 21 std::wstring path_;
22 }; 22 };
23 23
24 #endif 24 #endif // CHROME_BROWSER_SCOPED_PREF_UPDATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources_util.h ('k') | chrome/browser/sync/engine/syncer_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698