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

Side by Side Diff: chrome/common/custom_handlers/protocol_handler.h

Issue 10559049: Add ToString method for easy DLOG and debug support (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
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 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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/common/custom_handlers/protocol_handler.cc » ('j') | chrome/common/custom_handlers/protocol_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698