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

Side by Side Diff: content/common/serialized_origin.h

Issue 170843007: Introduce url::Origin to represent Web Origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698