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

Side by Side Diff: remoting/host/continue_window.h

Issue 9720019: Use scoped_ptr<> to pass ownership in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 REMOTING_HOST_CONTINUE_WINDOW_H 5 #ifndef REMOTING_HOST_CONTINUE_WINDOW_H
6 #define REMOTING_HOST_CONTINUE_WINDOW_H 6 #define REMOTING_HOST_CONTINUE_WINDOW_H
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 9
10 namespace remoting { 10 namespace remoting {
(...skipping 11 matching lines...) Expand all
22 virtual ~ContinueWindow() {} 22 virtual ~ContinueWindow() {}
23 23
24 // Show the continuation window requesting that the user approve continuing 24 // Show the continuation window requesting that the user approve continuing
25 // the session. 25 // the session.
26 virtual void Show(ChromotingHost* host, 26 virtual void Show(ChromotingHost* host,
27 const ContinueSessionCallback& callback) = 0; 27 const ContinueSessionCallback& callback) = 0;
28 28
29 // Hide the continuation window if it is visible. 29 // Hide the continuation window if it is visible.
30 virtual void Hide() = 0; 30 virtual void Hide() = 0;
31 31
32 static ContinueWindow* Create(); 32 static scoped_ptr<ContinueWindow> Create();
33 }; 33 };
34 34
35 } 35 }
36 36
37 #endif // REMOTING_HOST_CONTINUE_WINDOW_H 37 #endif // REMOTING_HOST_CONTINUE_WINDOW_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698