Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: win8/metro_driver/file_picker.cc

Issue 15709011: Use a direct include of strings headers in url/, win8/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebas3e Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « win8/metro_driver/chrome_app_view_ash.h ('k') | win8/metro_driver/file_picker_ash.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "stdafx.h" 5 #include "stdafx.h"
6 #include "win8/metro_driver/file_picker.h" 6 #include "win8/metro_driver/file_picker.h"
7 7
8 #include <windows.storage.pickers.h> 8 #include <windows.storage.pickers.h>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/synchronization/waitable_event.h" 15 #include "base/synchronization/waitable_event.h"
16 #include "base/win/metro.h" 16 #include "base/win/metro.h"
17 #include "base/win/scoped_comptr.h" 17 #include "base/win/scoped_comptr.h"
18 #include "win8/metro_driver/chrome_app_view.h" 18 #include "win8/metro_driver/chrome_app_view.h"
19 #include "win8/metro_driver/winrt_utils.h" 19 #include "win8/metro_driver/winrt_utils.h"
20 20
21 namespace { 21 namespace {
22 22
23 namespace winstorage = ABI::Windows::Storage; 23 namespace winstorage = ABI::Windows::Storage;
24 typedef winfoundtn::Collections::IVector<HSTRING> StringVectorItf; 24 typedef winfoundtn::Collections::IVector<HSTRING> StringVectorItf;
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 OpenFilePickerSession session(open_file_name); 611 OpenFilePickerSession session(open_file_name);
612 612
613 return session.Run(); 613 return session.Run();
614 } 614 }
615 615
616 BOOL MetroGetSaveFileName(OPENFILENAME* open_file_name) { 616 BOOL MetroGetSaveFileName(OPENFILENAME* open_file_name) {
617 SaveFilePickerSession session(open_file_name); 617 SaveFilePickerSession session(open_file_name);
618 618
619 return session.Run(); 619 return session.Run();
620 } 620 }
OLDNEW
« no previous file with comments | « win8/metro_driver/chrome_app_view_ash.h ('k') | win8/metro_driver/file_picker_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698