Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 CHROME_COMMON_CUSTOM_HANDLERS_PROTOCOL_HANDLER_H_ | 5 #ifndef CHROME_COMMON_CUSTOM_HANDLERS_PROTOCOL_HANDLER_H_ |
| 6 #define CHROME_COMMON_CUSTOM_HANDLERS_PROTOCOL_HANDLER_H_ | 6 #define CHROME_COMMON_CUSTOM_HANDLERS_PROTOCOL_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 61 ProtocolHandler(const std::string& protocol, | 61 ProtocolHandler(const std::string& protocol, |
| 62 const GURL& url, | 62 const GURL& url, |
| 63 const string16& title); | 63 const string16& title); |
| 64 ProtocolHandler(); | 64 ProtocolHandler(); |
| 65 | 65 |
| 66 std::string protocol_; | 66 std::string protocol_; |
| 67 GURL url_; | 67 GURL url_; |
| 68 string16 title_; | 68 string16 title_; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 std::ostream& operator<<(std::ostream& os, const ProtocolHandler& handler); | |
|
Peter Kasting
2012/06/22 20:20:32
Technically to use this you need to #include <ostr
smckay
2012/06/22 21:57:43
Done.
Q: Does the general distaste for streams th
| |
| 72 | |
| 71 #endif // CHROME_COMMON_CUSTOM_HANDLERS_PROTOCOL_HANDLER_H_ | 73 #endif // CHROME_COMMON_CUSTOM_HANDLERS_PROTOCOL_HANDLER_H_ |
| OLD | NEW |