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

Unified Diff: sky/engine/tonic/dart_library_provider.h

Issue 1237973004: Port more String and HashMap usages (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/engine/tonic/dart_library_loader.cc ('k') | sky/engine/tonic/dart_snapshot_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/tonic/dart_library_provider.h
diff --git a/sky/engine/tonic/dart_library_provider.h b/sky/engine/tonic/dart_library_provider.h
index e849fdc0473ca206ae6e0f6ad5062e1394006288..eef3c659d5dfa1ec9cf10264265564e72c5ea4f8 100644
--- a/sky/engine/tonic/dart_library_provider.h
+++ b/sky/engine/tonic/dart_library_provider.h
@@ -5,10 +5,11 @@
#ifndef SKY_ENGINE_TONIC_DART_LIBRARY_PROVIDER_H_
#define SKY_ENGINE_TONIC_DART_LIBRARY_PROVIDER_H_
+#include <string>
+
#include "base/callback.h"
#include "dart/runtime/include/dart_api.h"
#include "mojo/public/cpp/system/data_pipe.h"
-#include "sky/engine/wtf/text/WTFString.h"
namespace blink {
@@ -17,7 +18,7 @@ typedef base::Callback<void(mojo::ScopedDataPipeConsumerHandle)>
class DartLibraryProvider {
public:
- virtual void GetLibraryAsStream(const String& name,
+ virtual void GetLibraryAsStream(const std::string& name,
DataPipeConsumerCallback callback) = 0;
virtual Dart_Handle CanonicalizeURL(Dart_Handle library, Dart_Handle url) = 0;
« no previous file with comments | « sky/engine/tonic/dart_library_loader.cc ('k') | sky/engine/tonic/dart_snapshot_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698