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

Side by Side Diff: chrome/browser/chromeos/user_cros_settings_provider.cc

Issue 8392042: Split BrowserThread into public API and private implementation, step 1. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/user_cros_settings_provider.h" 5 #include "chrome/browser/chromeos/user_cros_settings_provider.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/chromeos/cros_settings_names.h" 22 #include "chrome/browser/chromeos/cros_settings_names.h"
23 #include "chrome/browser/chromeos/login/ownership_service.h" 23 #include "chrome/browser/chromeos/login/ownership_service.h"
24 #include "chrome/browser/chromeos/login/ownership_status_checker.h" 24 #include "chrome/browser/chromeos/login/ownership_status_checker.h"
25 #include "chrome/browser/chromeos/login/user_manager.h" 25 #include "chrome/browser/chromeos/login/user_manager.h"
26 #include "chrome/browser/policy/browser_policy_connector.h" 26 #include "chrome/browser/policy/browser_policy_connector.h"
27 #include "chrome/browser/prefs/pref_service.h" 27 #include "chrome/browser/prefs/pref_service.h"
28 #include "chrome/browser/prefs/scoped_user_pref_update.h" 28 #include "chrome/browser/prefs/scoped_user_pref_update.h"
29 #include "chrome/browser/ui/options/options_util.h" 29 #include "chrome/browser/ui/options/options_util.h"
30 #include "chrome/common/chrome_notification_types.h" 30 #include "chrome/common/chrome_notification_types.h"
31 #include "chrome/installer/util/google_update_settings.h" 31 #include "chrome/installer/util/google_update_settings.h"
32 #include "content/browser/browser_thread.h" 32 #include "content/public/browser/browser_thread.h"
33 #include "content/public/browser/notification_service.h" 33 #include "content/public/browser/notification_service.h"
34 34
35 namespace chromeos { 35 namespace chromeos {
36 36
37 namespace { 37 namespace {
38 38
39 const char kTrueIncantation[] = "true"; 39 const char kTrueIncantation[] = "true";
40 const char kFalseIncantation[] = "false"; 40 const char kFalseIncantation[] = "false";
41 const char kTrustedSuffix[] = "/trusted"; 41 const char kTrustedSuffix[] = "/trusted";
42 42
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 if (cached_whitelist_update->Remove(email_value, NULL)) 747 if (cached_whitelist_update->Remove(email_value, NULL))
748 prefs->ScheduleSavePersistentPrefs(); 748 prefs->ScheduleSavePersistentPrefs();
749 } 749 }
750 750
751 // static 751 // static
752 void UserCrosSettingsProvider::UpdateCachedOwner(const std::string& email) { 752 void UserCrosSettingsProvider::UpdateCachedOwner(const std::string& email) {
753 UpdateCacheString(kDeviceOwner, email, USE_VALUE_SUPPLIED); 753 UpdateCacheString(kDeviceOwner, email, USE_VALUE_SUPPLIED);
754 } 754 }
755 755
756 } // namespace chromeos 756 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/system/udev_info_provider.cc ('k') | chrome/browser/chromeos/version_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698