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

Side by Side Diff: win8/test/metro_registration_helper.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/test/metro_registration_helper.h ('k') | win8/test/open_with_dialog_async.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) 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/test/metro_registration_helper.h" 5 #include "win8/test/metro_registration_helper.h"
6 6
7 #include <shlobj.h> 7 #include <shlobj.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/process.h" 16 #include "base/process.h"
17 #include "base/process_util.h" 17 #include "base/process_util.h"
18 #include "base/string16.h" 18 #include "base/strings/string16.h"
19 #include "base/win/scoped_co_mem.h" 19 #include "base/win/scoped_co_mem.h"
20 #include "base/win/scoped_comptr.h" 20 #include "base/win/scoped_comptr.h"
21 #include "base/win/scoped_handle.h" 21 #include "base/win/scoped_handle.h"
22 #include "win8/test/open_with_dialog_controller.h" 22 #include "win8/test/open_with_dialog_controller.h"
23 #include "win8/test/test_registrar_constants.h" 23 #include "win8/test/test_registrar_constants.h"
24 24
25 namespace { 25 namespace {
26 26
27 const int kRegistrationTimeoutSeconds = 30; 27 const int kRegistrationTimeoutSeconds = 30;
28 28
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 std::vector<base::string16> choices; 122 std::vector<base::string16> choices;
123 OpenWithDialogController controller; 123 OpenWithDialogController controller;
124 HRESULT hr = controller.RunSynchronously( 124 HRESULT hr = controller.RunSynchronously(
125 NULL, kDefaultBrowserProtocol, win8::test::kDefaultTestExeName, &choices); 125 NULL, kDefaultBrowserProtocol, win8::test::kDefaultTestExeName, &choices);
126 LOG_IF(ERROR, FAILED(hr)) << std::hex << hr; 126 LOG_IF(ERROR, FAILED(hr)) << std::hex << hr;
127 DCHECK(IsTestDefaultForProtocol(kDefaultBrowserProtocol)); 127 DCHECK(IsTestDefaultForProtocol(kDefaultBrowserProtocol));
128 return SUCCEEDED(hr); 128 return SUCCEEDED(hr);
129 } 129 }
130 130
131 } // namespace win8 131 } // namespace win8
OLDNEW
« no previous file with comments | « win8/test/metro_registration_helper.h ('k') | win8/test/open_with_dialog_async.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698