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

Side by Side Diff: win8/test/open_with_dialog_controller.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/test/open_with_dialog_async.h ('k') | win8/test/test_registrar.cc » ('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 #ifndef WIN8_TEST_OPEN_WITH_DIALOG_CONTROLLER_H_ 5 #ifndef WIN8_TEST_OPEN_WITH_DIALOG_CONTROLLER_H_
6 #define WIN8_TEST_OPEN_WITH_DIALOG_CONTROLLER_H_ 6 #define WIN8_TEST_OPEN_WITH_DIALOG_CONTROLLER_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/string16.h" 15 #include "base/strings/string16.h"
16 16
17 namespace win8 { 17 namespace win8 {
18 18
19 // Asynchronously drives Windows 8's OpenWithDialog into making a given program 19 // Asynchronously drives Windows 8's OpenWithDialog into making a given program
20 // the default handler for an URL protocol. 20 // the default handler for an URL protocol.
21 class OpenWithDialogController { 21 class OpenWithDialogController {
22 public: 22 public:
23 // A callback that is invoked upon completion of the OpenWithDialog 23 // A callback that is invoked upon completion of the OpenWithDialog
24 // interaction. If the HRESULT indicates success, the interaction completed 24 // interaction. If the HRESULT indicates success, the interaction completed
25 // successfully. Otherwise, the vector of strings may contain the list of 25 // successfully. Otherwise, the vector of strings may contain the list of
(...skipping 29 matching lines...) Expand all
55 class Context; 55 class Context;
56 56
57 base::WeakPtr<Context> context_; 57 base::WeakPtr<Context> context_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(OpenWithDialogController); 59 DISALLOW_COPY_AND_ASSIGN(OpenWithDialogController);
60 }; 60 };
61 61
62 } // namespace win8 62 } // namespace win8
63 63
64 #endif // WIN8_TEST_OPEN_WITH_DIALOG_CONTROLLER_H_ 64 #endif // WIN8_TEST_OPEN_WITH_DIALOG_CONTROLLER_H_
OLDNEW
« no previous file with comments | « win8/test/open_with_dialog_async.h ('k') | win8/test/test_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698