| 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 <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include "stdafx.h" | 8 #include "stdafx.h" |
| 9 #include "win8/metro_driver/file_picker_ash.h" | 9 #include "win8/metro_driver/file_picker_ash.h" |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
| 14 #include "base/strings/string_split.h" | 14 #include "base/strings/string_split.h" |
| 15 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
| 16 #include "base/synchronization/waitable_event.h" | 16 #include "base/synchronization/waitable_event.h" |
| 17 #include "base/win/metro.h" | |
| 18 #include "base/win/scoped_comptr.h" | 17 #include "base/win/scoped_comptr.h" |
| 19 #include "ui/metro_viewer/metro_viewer_messages.h" | 18 #include "ui/metro_viewer/metro_viewer_messages.h" |
| 20 #include "win8/metro_driver/chrome_app_view_ash.h" | 19 #include "win8/metro_driver/chrome_app_view_ash.h" |
| 21 #include "win8/metro_driver/winrt_utils.h" | 20 #include "win8/metro_driver/winrt_utils.h" |
| 22 | 21 |
| 23 namespace { | 22 namespace { |
| 24 | 23 |
| 25 typedef winfoundtn::Collections::IVector<HSTRING> StringVectorItf; | 24 typedef winfoundtn::Collections::IVector<HSTRING> StringVectorItf; |
| 26 | 25 |
| 27 // TODO(siggi): Complete this implementation and move it to a common place. | 26 // TODO(siggi): Complete this implementation and move it to a common place. |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 } else { | 610 } else { |
| 612 LOG(ERROR) << "NULL IStorageItem"; | 611 LOG(ERROR) << "NULL IStorageItem"; |
| 613 } | 612 } |
| 614 } else { | 613 } else { |
| 615 LOG(ERROR) << "Unexpected async status " << static_cast<int>(status); | 614 LOG(ERROR) << "Unexpected async status " << static_cast<int>(status); |
| 616 } | 615 } |
| 617 app_view_->OnFolderPickerCompleted(this, success_); | 616 app_view_->OnFolderPickerCompleted(this, success_); |
| 618 return S_OK; | 617 return S_OK; |
| 619 } | 618 } |
| 620 | 619 |
| OLD | NEW |