| Index: chrome/browser/ui/webui/options/browser_options_handler.h
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.h b/chrome/browser/ui/webui/options/browser_options_handler.h
|
| index 2c02bc47b2e4b0e59f121e452d8ec7c20a0d59ad..3644e9e66527321d845860a472e019857c6d4702 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.h
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.h
|
| @@ -351,7 +351,7 @@ class BrowserOptionsHandler
|
| void SetupExtensionControlledIndicators();
|
|
|
| // Setup the value and the disabled property for metrics reporting for (except
|
| - // CrOS and Android).
|
| + // Android).
|
| void SetupMetricsReportingCheckbox();
|
|
|
| // Called when the MetricsReportingEnabled checkbox values are changed.
|
| @@ -359,10 +359,12 @@ class BrowserOptionsHandler
|
| void HandleMetricsReportingChange(const base::ListValue* args);
|
|
|
| // Notifies the result of MetricsReportingEnabled change to Javascript layer.
|
| - void MetricsReportingChangeCallback(bool enabled);
|
| + void NotifyUIOfMetricsReportingChange(bool enabled);
|
|
|
| // Calls a Javascript function to set the state of MetricsReporting checkbox.
|
| - void SetMetricsReportingCheckbox(bool checked, bool disabled);
|
| + void SetMetricsReportingCheckbox(bool checked,
|
| + bool policy_managed,
|
| + bool owner_managed);
|
|
|
| #if defined(OS_CHROMEOS)
|
| // Setup the accessibility features for ChromeOS.
|
| @@ -373,6 +375,10 @@ class BrowserOptionsHandler
|
| // correspond to the status of sync.
|
| scoped_ptr<base::DictionaryValue> GetSyncStateDictionary();
|
|
|
| + // Checks whether on Chrome OS the current user is the device owner. Returns
|
| + // true on other platforms.
|
| + bool IsDeviceOwnerProfile();
|
| +
|
| scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_;
|
|
|
| bool page_initialized_;
|
|
|