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 "win8/viewer/metro_viewer_process_host.h" | 5 #include "win8/viewer/metro_viewer_process_host.h" |
6 | 6 |
7 #include <shlobj.h> | 7 #include <shlobj.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | |
11 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/files/file_util.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
14 #include "base/process/process.h" | 14 #include "base/process/process.h" |
15 #include "base/process/process_handle.h" | 15 #include "base/process/process_handle.h" |
16 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
17 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
19 #include "base/win/scoped_comptr.h" | 19 #include "base/win/scoped_comptr.h" |
20 #include "base/win/windows_version.h" | 20 #include "base/win/windows_version.h" |
21 #include "ipc/ipc_channel_proxy.h" | 21 #include "ipc/ipc_channel_proxy.h" |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 const base::FilePath& folder) { | 335 const base::FilePath& folder) { |
336 if (success) | 336 if (success) |
337 select_folder_completion_callback_.Run(base::FilePath(folder), 0, NULL); | 337 select_folder_completion_callback_.Run(base::FilePath(folder), 0, NULL); |
338 else | 338 else |
339 failure_callback_.Run(NULL); | 339 failure_callback_.Run(NULL); |
340 select_folder_completion_callback_.Reset(); | 340 select_folder_completion_callback_.Reset(); |
341 failure_callback_.Reset(); | 341 failure_callback_.Reset(); |
342 } | 342 } |
343 | 343 |
344 } // namespace win8 | 344 } // namespace win8 |
OLD | NEW |