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 #ifndef CONTENT_COMMON_SERIALIZED_ORIGIN_H_ | |
6 #define CONTENT_COMMON_SERIALIZED_ORIGIN_H_ | |
7 | |
8 #include <string> | |
9 | |
10 namespace blink { | |
11 class WebString; | |
12 } // namespace blink | |
13 | |
14 namespace content { | |
15 | |
Tom Sepez
2014/02/24 18:30:52
nit: possibly a comment that explains that this re
yhirano
2014/03/03 15:41:54
Done.
| |
16 struct SerializedOrigin { | |
17 SerializedOrigin(); | |
18 explicit SerializedOrigin(const std::string& origin); | |
19 explicit SerializedOrigin(const blink::WebString& origin); | |
abarth-chromium
2014/02/24 06:17:06
I probably would have taken a WebSecurityOrigin di
yhirano
2014/03/03 15:41:54
I will add a type conversion operator to blink::We
| |
20 | |
21 std::string string; | |
22 }; | |
23 | |
24 } // namespace content | |
25 | |
26 #endif // CONTENT_COMMON_SERIALIZED_ORIGIN_H_ | |
OLD | NEW |