| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/basictypes.h" | |
| 6 #include "base/bind.h" | 5 #include "base/bind.h" |
| 7 #include "base/files/file_path.h" | 6 #include "base/files/file_path.h" |
| 8 #include "base/files/file_util.h" | 7 #include "base/files/file_util.h" |
| 9 #include "base/logging.h" | 8 #include "base/logging.h" |
| 10 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
| 11 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| 12 #include "base/task_runner_util.h" | 11 #include "base/task_runner_util.h" |
| 13 #include "base/threading/worker_pool.h" | 12 #include "base/threading/worker_pool.h" |
| 14 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
| 15 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 77 |
| 79 base::PostTaskAndReplyWithResult( | 78 base::PostTaskAndReplyWithResult( |
| 80 base::WorkerPool::GetTaskRunner(false /* task_is_slow */).get(), | 79 base::WorkerPool::GetTaskRunner(false /* task_is_slow */).get(), |
| 81 FROM_HERE, | 80 FROM_HERE, |
| 82 base::Bind(&ReadBrandFromFile), | 81 base::Bind(&ReadBrandFromFile), |
| 83 base::Bind(&SetBrand, callback)); | 82 base::Bind(&SetBrand, callback)); |
| 84 } | 83 } |
| 85 | 84 |
| 86 } // namespace chromeos | 85 } // namespace chromeos |
| 87 } // namespace google_brand | 86 } // namespace google_brand |
| OLD | NEW |