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

Side by Side Diff: chrome/browser/chromeos/extensions/info_private_api.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
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 #include "chrome/browser/chromeos/extensions/info_private_api.h" 5 #include "chrome/browser/chromeos/extensions/info_private_api.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/prefs/pref_service.h"
10 #include "base/sys_info.h" 9 #include "base/sys_info.h"
11 #include "base/values.h" 10 #include "base/values.h"
12 #include "chrome/browser/app_mode/app_mode_utils.h" 11 #include "chrome/browser/app_mode/app_mode_utils.h"
13 #include "chrome/browser/browser_process.h" 12 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/chromeos/login/startup_utils.h" 13 #include "chrome/browser/chromeos/login/startup_utils.h"
15 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" 14 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
16 #include "chrome/browser/chromeos/settings/cros_settings.h" 15 #include "chrome/browser/chromeos/settings/cros_settings.h"
17 #include "chrome/browser/chromeos/system/timezone_util.h" 16 #include "chrome/browser/chromeos/system/timezone_util.h"
18 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
20 #include "chromeos/network/device_state.h" 19 #include "chromeos/network/device_state.h"
21 #include "chromeos/network/network_handler.h" 20 #include "chromeos/network/network_handler.h"
22 #include "chromeos/network/network_state_handler.h" 21 #include "chromeos/network/network_state_handler.h"
23 #include "chromeos/settings/cros_settings_names.h" 22 #include "chromeos/settings/cros_settings_names.h"
24 #include "chromeos/system/statistics_provider.h" 23 #include "chromeos/system/statistics_provider.h"
25 #include "components/metrics/metrics_service.h" 24 #include "components/metrics/metrics_service.h"
25 #include "components/prefs/pref_service.h"
26 #include "components/user_manager/user_manager.h" 26 #include "components/user_manager/user_manager.h"
27 #include "extensions/common/error_utils.h" 27 #include "extensions/common/error_utils.h"
28 #include "third_party/cros_system_api/dbus/service_constants.h" 28 #include "third_party/cros_system_api/dbus/service_constants.h"
29 29
30 using chromeos::NetworkHandler; 30 using chromeos::NetworkHandler;
31 31
32 namespace extensions { 32 namespace extensions {
33 33
34 namespace { 34 namespace {
35 35
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 } else { 231 } else {
232 error_ = ErrorUtils::FormatErrorMessage(kPropertyNotFound, param_name); 232 error_ = ErrorUtils::FormatErrorMessage(kPropertyNotFound, param_name);
233 return false; 233 return false;
234 } 234 }
235 } 235 }
236 236
237 return true; 237 return true;
238 } 238 }
239 239
240 } // namespace extensions 240 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698