| OLD | NEW |
| 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/files/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/pref_registry/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" |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |