OLD | NEW |
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 #include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h" | 5 #include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h" |
6 | 6 |
7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
12 #include "base/files/file_enumerator.h" | 12 #include "base/files/file_enumerator.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/json/json_file_value_serializer.h" | 14 #include "base/json/json_file_value_serializer.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/path_service.h" | 16 #include "base/path_service.h" |
17 #include "base/string_util.h" | 17 #include "base/strings/string_util.h" |
18 #include "base/values.h" | 18 #include "base/values.h" |
19 #include "base/version.h" | 19 #include "base/version.h" |
20 #include "base/win/windows_version.h" | 20 #include "base/win/windows_version.h" |
21 #include "build/build_config.h" | 21 #include "build/build_config.h" |
22 #include "chrome/browser/browser_process.h" | 22 #include "chrome/browser/browser_process.h" |
23 #include "chrome/browser/component_updater/component_updater_service.h" | 23 #include "chrome/browser/component_updater/component_updater_service.h" |
24 #include "chrome/browser/profiles/profile.h" | 24 #include "chrome/browser/profiles/profile.h" |
25 #include "chrome/browser/profiles/profile_manager.h" | 25 #include "chrome/browser/profiles/profile_manager.h" |
26 #include "chrome/common/chrome_paths.h" | 26 #include "chrome/common/chrome_paths.h" |
27 #include "chrome/common/chrome_switches.h" | 27 #include "chrome/common/chrome_switches.h" |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 // No need to check the commandline flags again here. | 433 // No need to check the commandline flags again here. |
434 // We could only have gotten here after RegisterPnaclComponent | 434 // We could only have gotten here after RegisterPnaclComponent |
435 // found --enable-pnacl, since that is where we create the profile_observer_, | 435 // found --enable-pnacl, since that is where we create the profile_observer_, |
436 // which in turn calls ReRegisterPnacl. | 436 // which in turn calls ReRegisterPnacl. |
437 DCHECK(per_user_); | 437 DCHECK(per_user_); |
438 // Figure out profile information, before proceeding to look for files. | 438 // Figure out profile information, before proceeding to look for files. |
439 BrowserThread::PostTask( | 439 BrowserThread::PostTask( |
440 BrowserThread::UI, FROM_HERE, | 440 BrowserThread::UI, FROM_HERE, |
441 base::Bind(&GetProfileInformation, this)); | 441 base::Bind(&GetProfileInformation, this)); |
442 } | 442 } |
OLD | NEW |