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

Side by Side Diff: chrome/browser/chromeos/user_cros_settings_provider.h

Issue 8091002: PART2: Make SignedSettings use proper Value types instead of string all around the place. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the nits and rebased on ToT (which now has PART1 in). Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_
6 #define CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_ 6 #define CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual bool HandlesSetting(const std::string& path) const OVERRIDE; 42 virtual bool HandlesSetting(const std::string& path) const OVERRIDE;
43 43
44 static void WhitelistUser(const std::string& email); 44 static void WhitelistUser(const std::string& email);
45 static void UnwhitelistUser(const std::string& email); 45 static void UnwhitelistUser(const std::string& email);
46 46
47 // Updates cached value of the owner. 47 // Updates cached value of the owner.
48 static void UpdateCachedOwner(const std::string& email); 48 static void UpdateCachedOwner(const std::string& email);
49 49
50 private: 50 private:
51 // CrosSettingsProvider implementation. 51 // CrosSettingsProvider implementation.
52 virtual void DoSet(const std::string& path, base::Value* value) OVERRIDE; 52 virtual void DoSet(const std::string& path,
53 const base::Value& value) OVERRIDE;
53 54
54 DISALLOW_COPY_AND_ASSIGN(UserCrosSettingsProvider); 55 DISALLOW_COPY_AND_ASSIGN(UserCrosSettingsProvider);
55 }; 56 };
56 57
57 } // namespace chromeos 58 } // namespace chromeos
58 59
59 #endif // CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_ 60 #endif // CHROME_BROWSER_CHROMEOS_USER_CROS_SETTINGS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/proxy_config_service_impl.cc ('k') | chrome/browser/chromeos/user_cros_settings_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698