diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/exported/WebSerializedOrigin.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/platform/exported/WebSerializedOrigin.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/exported/WebSerializedOrigin.cpp b/chromium/third_party/WebKit/Source/platform/exported/WebSerializedOrigin.cpp new file mode 100644 index 00000000000..f2712b7c528 --- /dev/null +++ b/chromium/third_party/WebKit/Source/platform/exported/WebSerializedOrigin.cpp @@ -0,0 +1,17 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "config.h" +#include "public/platform/WebSerializedOrigin.h" + +#include "platform/weborigin/SecurityOrigin.h" + +namespace blink { + +WebSerializedOrigin::WebSerializedOrigin(const WebCore::SecurityOrigin& origin) + : m_string(origin.toString()) +{ +} + +} // namespace blink |