| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/arc/settings_bridge.h" | 5 #include "chrome/browser/chromeos/arc/settings_bridge.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/prefs/pref_service.h" | |
| 10 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 11 #include "chrome/browser/profiles/profile_manager.h" | 10 #include "chrome/browser/profiles/profile_manager.h" |
| 12 #include "chrome/common/pref_names.h" | 11 #include "chrome/common/pref_names.h" |
| 12 #include "components/prefs/pref_service.h" |
| 13 | 13 |
| 14 using ::chromeos::system::TimezoneSettings; | 14 using ::chromeos::system::TimezoneSettings; |
| 15 | 15 |
| 16 namespace arc { | 16 namespace arc { |
| 17 | 17 |
| 18 namespace fontsizes { | 18 namespace fontsizes { |
| 19 | 19 |
| 20 double ConvertFontSizeChromeToAndroid(int default_size, | 20 double ConvertFontSizeChromeToAndroid(int default_size, |
| 21 int default_fixed_size, | 21 int default_fixed_size, |
| 22 int minimum_size) { | 22 int minimum_size) { |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 extras); | 173 extras); |
| 174 } | 174 } |
| 175 | 175 |
| 176 void SettingsBridge::SendSettingsBroadcast( | 176 void SettingsBridge::SendSettingsBroadcast( |
| 177 const std::string& action, | 177 const std::string& action, |
| 178 const base::DictionaryValue& extras) const { | 178 const base::DictionaryValue& extras) const { |
| 179 delegate_->OnBroadcastNeeded(action, extras); | 179 delegate_->OnBroadcastNeeded(action, extras); |
| 180 } | 180 } |
| 181 | 181 |
| 182 } // namespace arc | 182 } // namespace arc |
| OLD | NEW |