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

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

Issue 1237973002: Remove most usage of Vector (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 | « no previous file | sky/engine/tonic/dart_library_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/tonic/dart_library_loader.h
diff --git a/sky/engine/tonic/dart_library_loader.h b/sky/engine/tonic/dart_library_loader.h
index 566640fb1bbe130f1ee60f458ad1a8651c3d03b7..da962d9cdedb6ae23c7ec1422e4654ad71ac7670 100644
--- a/sky/engine/tonic/dart_library_loader.h
+++ b/sky/engine/tonic/dart_library_loader.h
@@ -5,6 +5,7 @@
#ifndef SKY_ENGINE_TONIC_DART_LIBRARY_LOADER_H_
#define SKY_ENGINE_TONIC_DART_LIBRARY_LOADER_H_
+#include <vector>
#include "base/callback_forward.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
@@ -12,7 +13,6 @@
#include "sky/engine/wtf/HashMap.h"
#include "sky/engine/wtf/HashSet.h"
#include "sky/engine/wtf/OwnPtr.h"
-#include "sky/engine/wtf/Vector.h"
#include "sky/engine/wtf/text/WTFString.h"
namespace blink {
@@ -64,8 +64,8 @@ class DartLibraryLoader {
Dart_Handle Import(Dart_Handle library, Dart_Handle url);
Dart_Handle Source(Dart_Handle library, Dart_Handle url);
Dart_Handle CanonicalizeURL(Dart_Handle library, Dart_Handle url);
- void DidCompleteImportJob(ImportJob* job, const Vector<uint8_t>& buffer);
- void DidCompleteSourceJob(SourceJob* job, const Vector<uint8_t>& buffer);
+ void DidCompleteImportJob(ImportJob* job, const std::vector<uint8_t>& buffer);
+ void DidCompleteSourceJob(SourceJob* job, const std::vector<uint8_t>& buffer);
void DidFailJob(Job* job);
DartState* dart_state_;
« no previous file with comments | « no previous file | sky/engine/tonic/dart_library_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698