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

Side by Side Diff: win8/metro_driver/winrt_utils.h

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/toast_notification_handler.h ('k') | win8/test/metro_registration_helper.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 #ifndef WIN8_METRO_DRIVER_WINRT_UTILS_H_ 5 #ifndef WIN8_METRO_DRIVER_WINRT_UTILS_H_
6 #define WIN8_METRO_DRIVER_WINRT_UTILS_H_ 6 #define WIN8_METRO_DRIVER_WINRT_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include <roapi.h> 10 #include <roapi.h>
11 #include <windows.applicationmodel.core.h> 11 #include <windows.applicationmodel.core.h>
12 12
13 #include "base/string16.h" 13 #include "base/strings/string16.h"
14 14
15 void CheckHR(HRESULT hr, const char* str = nullptr); 15 void CheckHR(HRESULT hr, const char* str = nullptr);
16 16
17 HSTRING MakeHString(const string16& str); 17 HSTRING MakeHString(const string16& str);
18 18
19 string16 MakeStdWString(HSTRING hstring); 19 string16 MakeStdWString(HSTRING hstring);
20 20
21 namespace winrt_utils { 21 namespace winrt_utils {
22 22
23 template<unsigned int size, typename T> 23 template<unsigned int size, typename T>
(...skipping 27 matching lines...) Expand all
51 // Looks for a pinned taskbar shortcut in the current user's profile. If it 51 // Looks for a pinned taskbar shortcut in the current user's profile. If it
52 // finds one, will return any arguments that have been appended to the 52 // finds one, will return any arguments that have been appended to the
53 // shortcut's command line. This is intended for scenarios where those shortcut 53 // shortcut's command line. This is intended for scenarios where those shortcut
54 // parameters are ordinarily ignored (i.e. metro apps on win8). Returns an 54 // parameters are ordinarily ignored (i.e. metro apps on win8). Returns an
55 // empty string on failure. 55 // empty string on failure.
56 string16 ReadArgumentsFromPinnedTaskbarShortcut(); 56 string16 ReadArgumentsFromPinnedTaskbarShortcut();
57 57
58 } // namespace winrt_utils 58 } // namespace winrt_utils
59 59
60 #endif // WIN8_METRO_DRIVER_WINRT_UTILS_H_ 60 #endif // WIN8_METRO_DRIVER_WINRT_UTILS_H_
OLDNEW
« no previous file with comments | « win8/metro_driver/toast_notification_handler.h ('k') | win8/test/metro_registration_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698