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 "stdafx.h" | 5 #include "stdafx.h" |
6 #include "win8/metro_driver/file_picker_ash.h" | 6 #include "win8/metro_driver/file_picker_ash.h" |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
12 #include "base/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/synchronization/waitable_event.h" | 13 #include "base/synchronization/waitable_event.h" |
14 #include "base/win/metro.h" | 14 #include "base/win/metro.h" |
15 #include "base/win/scoped_comptr.h" | 15 #include "base/win/scoped_comptr.h" |
16 #include "ui/metro_viewer/metro_viewer_messages.h" | 16 #include "ui/metro_viewer/metro_viewer_messages.h" |
17 #include "win8/metro_driver/chrome_app_view_ash.h" | 17 #include "win8/metro_driver/chrome_app_view_ash.h" |
18 #include "win8/metro_driver/winrt_utils.h" | 18 #include "win8/metro_driver/winrt_utils.h" |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 namespace winstorage = ABI::Windows::Storage; | 22 namespace winstorage = ABI::Windows::Storage; |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 } else { | 606 } else { |
607 LOG(ERROR) << "NULL IStorageItem"; | 607 LOG(ERROR) << "NULL IStorageItem"; |
608 } | 608 } |
609 } else { | 609 } else { |
610 LOG(ERROR) << "Unexpected async status " << status; | 610 LOG(ERROR) << "Unexpected async status " << status; |
611 } | 611 } |
612 app_view_->OnFolderPickerCompleted(this, success_); | 612 app_view_->OnFolderPickerCompleted(this, success_); |
613 return S_OK; | 613 return S_OK; |
614 } | 614 } |
615 | 615 |
OLD | NEW |