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

Unified Diff: sky/viewer/converters/basic_types.cc

Issue 1235093002: Move sky_viewer into services/sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: again Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/viewer/converters/basic_types.h ('k') | sky/viewer/converters/input_event_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/converters/basic_types.cc
diff --git a/sky/viewer/converters/basic_types.cc b/sky/viewer/converters/basic_types.cc
deleted file mode 100644
index 981c726d8e755521cd2fd30cc23feb17128c0b23..0000000000000000000000000000000000000000
--- a/sky/viewer/converters/basic_types.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// 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 "sky/viewer/converters/basic_types.h"
-
-#include "mojo/public/cpp/bindings/string.h"
-#include "sky/engine/public/platform/WebString.h"
-
-using blink::WebString;
-
-namespace mojo {
-
-// static
-String TypeConverter<String, WebString>::Convert(const WebString& str) {
- return String(str.utf8());
-}
-
-// static
-WebString TypeConverter<WebString, String>::Convert(const String& str) {
- return WebString::fromUTF8(str.get());
-}
-
-} // namespace mojo
« no previous file with comments | « sky/viewer/converters/basic_types.h ('k') | sky/viewer/converters/input_event_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698