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

Side by Side Diff: chrome/browser/renderer_host/pepper/device_id_fetcher.cc

Issue 271793003: components: Extract pref_registry component out of user_prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/renderer_host/pepper/device_id_fetcher.h" 5 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/common/pref_names.h" 11 #include "chrome/common/pref_names.h"
12 #if defined(OS_CHROMEOS) 12 #if defined(OS_CHROMEOS)
13 #include "chromeos/cryptohome/system_salt_getter.h" 13 #include "chromeos/cryptohome/system_salt_getter.h"
14 #endif 14 #endif
15 #include "components/user_prefs/pref_registry_syncable.h" 15 #include "components/pref_registry/pref_registry_syncable.h"
16 #include "content/public/browser/browser_context.h" 16 #include "content/public/browser/browser_context.h"
17 #include "content/public/browser/browser_ppapi_host.h" 17 #include "content/public/browser/browser_ppapi_host.h"
18 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
19 #include "content/public/browser/render_process_host.h" 19 #include "content/public/browser/render_process_host.h"
20 #include "crypto/encryptor.h" 20 #include "crypto/encryptor.h"
21 #include "crypto/random.h" 21 #include "crypto/random.h"
22 #include "crypto/sha2.h" 22 #include "crypto/sha2.h"
23 #include "ppapi/c/pp_errors.h" 23 #include "ppapi/c/pp_errors.h"
24 #if defined(ENABLE_RLZ) 24 #if defined(ENABLE_RLZ)
25 #include "rlz/lib/machine_id.h" 25 #include "rlz/lib/machine_id.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 BrowserThread::IO, 206 BrowserThread::IO,
207 FROM_HERE, 207 FROM_HERE,
208 base::Bind(&DeviceIDFetcher::RunCallbackOnIOThread, this, id, result)); 208 base::Bind(&DeviceIDFetcher::RunCallbackOnIOThread, this, id, result));
209 return; 209 return;
210 } 210 }
211 in_progress_ = false; 211 in_progress_ = false;
212 callback_.Run(id, result); 212 callback_.Run(id, result);
213 } 213 }
214 214
215 } // namespace chrome 215 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/search/hotword_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698