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

Unified Diff: sky/engine/core/script/dart_dependency_catcher.cc

Issue 1202283004: Factor DartLibraryProvider out of DartLoader (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
Index: sky/engine/core/script/dart_dependency_catcher.cc
diff --git a/sky/engine/core/script/dart_dependency_catcher.cc b/sky/engine/core/script/dart_dependency_catcher.cc
deleted file mode 100644
index aeefc37073a03faf4d4391c8231525109e1a7eea..0000000000000000000000000000000000000000
--- a/sky/engine/core/script/dart_dependency_catcher.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2015 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/engine/core/script/dart_dependency_catcher.h"
-
-#include "sky/engine/core/script/dart_loader.h"
-
-namespace blink {
-
-DartDependencyCatcher::DartDependencyCatcher(DartLoader& loader) : loader_(loader) {
- loader_.set_dependency_catcher(this);
-}
-
-DartDependencyCatcher::~DartDependencyCatcher() {
- loader_.set_dependency_catcher(nullptr);
-}
-
-void DartDependencyCatcher::AddDependency(DartDependency* dependency) {
- dependencies_.add(dependency);
-}
-
-} // namespace blink
« no previous file with comments | « sky/engine/core/script/dart_dependency_catcher.h ('k') | sky/engine/core/script/dart_library_provider_network.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698