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

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

Issue 834073002: ChromeOS: Implement periodic timezone refresh on geolocation data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 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 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 #ifndef CHROME_BROWSER_CHROMEOS_PREFERENCES_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_PREFERENCES_H_
6 #define CHROME_BROWSER_CHROMEOS_PREFERENCES_H_ 6 #define CHROME_BROWSER_CHROMEOS_PREFERENCES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shell_observer.h" 10 #include "ash/shell_observer.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/prefs/pref_change_registrar.h"
12 #include "base/prefs/pref_member.h" 13 #include "base/prefs/pref_member.h"
13 #include "chrome/browser/chromeos/language_preferences.h" 14 #include "chrome/browser/chromeos/language_preferences.h"
14 #include "chrome/browser/prefs/pref_service_syncable_observer.h" 15 #include "chrome/browser/prefs/pref_service_syncable_observer.h"
15 #include "components/user_manager/user_manager.h" 16 #include "components/user_manager/user_manager.h"
16 #include "ui/base/ime/chromeos/input_method_manager.h" 17 #include "ui/base/ime/chromeos/input_method_manager.h"
17 18
18 class PrefRegistrySimple; 19 class PrefRegistrySimple;
19 class PrefService; 20 class PrefService;
20 class PrefServiceSyncable; 21 class PrefServiceSyncable;
21 22
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 StringPrefMember current_input_method_; 136 StringPrefMember current_input_method_;
136 StringPrefMember previous_input_method_; 137 StringPrefMember previous_input_method_;
137 StringPrefMember enabled_extension_imes_; 138 StringPrefMember enabled_extension_imes_;
138 139
139 BooleanPrefMember xkb_auto_repeat_enabled_; 140 BooleanPrefMember xkb_auto_repeat_enabled_;
140 IntegerPrefMember xkb_auto_repeat_delay_pref_; 141 IntegerPrefMember xkb_auto_repeat_delay_pref_;
141 IntegerPrefMember xkb_auto_repeat_interval_pref_; 142 IntegerPrefMember xkb_auto_repeat_interval_pref_;
142 143
143 BooleanPrefMember wake_on_wifi_ssid_; 144 BooleanPrefMember wake_on_wifi_ssid_;
144 145
146 PrefChangeRegistrar pref_change_registarar_;
Bernhard Bauer 2015/01/16 09:25:05 |pref_change_registrar_|.
Alexander Alekseev 2015/01/16 20:42:44 Done.
147
145 // User owning these preferences. 148 // User owning these preferences.
146 const user_manager::User* user_; 149 const user_manager::User* user_;
147 150
148 // Whether user is a primary user. 151 // Whether user is a primary user.
149 bool user_is_primary_; 152 bool user_is_primary_;
150 153
151 // Input Methods state for this user. 154 // Input Methods state for this user.
152 scoped_refptr<input_method::InputMethodManager::State> ime_state_; 155 scoped_refptr<input_method::InputMethodManager::State> ime_state_;
153 156
154 scoped_ptr<input_method::InputMethodSyncer> input_method_syncer_; 157 scoped_ptr<input_method::InputMethodSyncer> input_method_syncer_;
155 158
156 DISALLOW_COPY_AND_ASSIGN(Preferences); 159 DISALLOW_COPY_AND_ASSIGN(Preferences);
157 }; 160 };
158 161
159 } // namespace chromeos 162 } // namespace chromeos
160 163
161 #endif // CHROME_BROWSER_CHROMEOS_PREFERENCES_H_ 164 #endif // CHROME_BROWSER_CHROMEOS_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698