Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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 #include "url/serialized_origin.h" | |
| 6 | |
| 7 #include <ostream> | |
| 8 #include <string> | |
|
brettw
2014/03/10 20:59:04
You don't need this since the header file uses it.
yhirano
2014/03/12 02:27:05
Done.
| |
| 9 | |
| 10 SerializedOrigin::SerializedOrigin() {} | |
| 11 | |
| 12 SerializedOrigin::SerializedOrigin(const std::string& origin) | |
| 13 : string_(origin) {} | |
|
brettw
2014/03/10 20:59:04
It seems like there is an expected format of the o
yhirano
2014/03/12 02:27:05
Done.
| |
| 14 | |
| 15 std::ostream& operator<<(std::ostream& out, | |
| 16 const SerializedOrigin& origin) { | |
| 17 return out << origin.string(); | |
| 18 } | |
| 19 | |
| OLD | NEW |