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

Unified Diff: chrome/browser/chromeos/settings/device_settings_provider.h

Issue 11975009: Prevent a DCHECK when starting a chromeos=1 build with --stub-cros-settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: IsDeviceSettings() Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/settings/device_settings_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/settings/device_settings_provider.h
diff --git a/chrome/browser/chromeos/settings/device_settings_provider.h b/chrome/browser/chromeos/settings/device_settings_provider.h
index 6ebf20046821e6338369cde89d420ac990f12da3..0946c37a7dfa581d8adcd25043887bec236c77c0 100644
--- a/chrome/browser/chromeos/settings/device_settings_provider.h
+++ b/chrome/browser/chromeos/settings/device_settings_provider.h
@@ -37,6 +37,9 @@ class DeviceSettingsProvider : public CrosSettingsProvider,
DeviceSettingsService* device_settings_service);
virtual ~DeviceSettingsProvider();
+ // Returns true if |path| is handled by this provider.
+ static bool IsDeviceSetting(const std::string& name);
+
// CrosSettingsProvider implementation.
virtual const base::Value* Get(const std::string& path) const OVERRIDE;
virtual TrustedStatus PrepareTrustedValues(
« no previous file with comments | « no previous file | chrome/browser/chromeos/settings/device_settings_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698