OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_BROWSER_STREAM_HANDLE_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_STREAM_HANDLE_H_ | |
7 | |
8 #include "base/callback.h" | |
9 #include "content/common/content_export.h" | |
10 #include "googleurl/src/gurl.h" | |
11 | |
12 namespace content { | |
13 | |
14 class CONTENT_EXPORT StreamHandle { | |
15 public: | |
16 virtual ~StreamHandle() {} | |
17 | |
18 virtual const GURL& GetUrl() = 0; | |
darin (slow to review)
2013/03/19 06:12:51
nit: I'm more accustomed to seeing GetURL in chrom
Zachary Kuznia
2013/03/19 06:59:35
Done.
| |
19 virtual void RegisterCloseCallback(const base::Closure& callback) = 0; | |
darin (slow to review)
2013/03/19 06:12:51
nit: might want to add a comment explaining what a
Zachary Kuznia
2013/03/19 06:59:35
Done.
| |
20 }; | |
21 | |
22 } // namespace content | |
23 | |
24 #endif // CONTENT_PUBLIC_BROWSER_STREAM_HANDLE_H_ | |
OLD | NEW |