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/user_data_dir_extractor_win.h" | 5 #include "chrome/browser/user_data_dir_extractor_win.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/process_util.h" | 11 #include "base/process/launch.h" |
12 #include "chrome/browser/ui/user_data_dir_dialog.h" | 12 #include "chrome/browser/ui/user_data_dir_dialog.h" |
13 #include "chrome/browser/user_data_dir_extractor.h" | 13 #include "chrome/browser/user_data_dir_extractor.h" |
14 #include "chrome/common/chrome_paths.h" | 14 #include "chrome/common/chrome_paths.h" |
15 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
16 #include "content/public/common/main_function_params.h" | 16 #include "content/public/common/main_function_params.h" |
17 #include "ui/base/l10n/l10n_util.h" | 17 #include "ui/base/l10n/l10n_util.h" |
18 #include "ui/base/resource/resource_bundle.h" | 18 #include "ui/base/resource/resource_bundle.h" |
19 | 19 |
20 namespace chrome { | 20 namespace chrome { |
21 | 21 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 new_user_data_dir); | 73 new_user_data_dir); |
74 base::LaunchProcess(new_command_line, base::LaunchOptions(), NULL); | 74 base::LaunchProcess(new_command_line, base::LaunchOptions(), NULL); |
75 } | 75 } |
76 #endif | 76 #endif |
77 NOTREACHED() << "Failed to get user data directory!"; | 77 NOTREACHED() << "Failed to get user data directory!"; |
78 } | 78 } |
79 return user_data_dir; | 79 return user_data_dir; |
80 } | 80 } |
81 | 81 |
82 } // namespace chrome | 82 } // namespace chrome |
OLD | NEW |