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

Unified Diff: chrome/browser/resources/file_manager/js/background_scripts.js

Issue 10692090: Move FileCopyManager to background page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: chrome/browser/resources/file_manager/js/background_scripts.js
===================================================================
--- chrome/browser/resources/file_manager/js/background_scripts.js (revision 0)
+++ chrome/browser/resources/file_manager/js/background_scripts.js (revision 0)
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 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.
+
+// The include directives are put into Javascript-style comments to prevent
+// parsing errors in non-flattened mode. The flattener still sees them.
+// Note that this makes the flattener to comment out the first line of the
+// included file but that's all right since any javascript file should start
+// with a copyright comment anyway.
+
+// //metrics.js initiates load performance tracking
+// //so we want to parse it as early as possible.
+//<include src="metrics.js"/>
+//
+//<include src="../../shared/js/cr.js"/>
+//<include src="../../shared/js/event_tracker.js"/>
+//<include src="../../shared/js/cr/event_target.js"/>
+//
+//<include src="util.js"/>
+// // Only for static methods.
+// // TODO(olege): Remove once DirectoryModel is refactored.
+//<include src="directory_model.js"/>
+//<include src="file_copy_manager.js"/>
+//
+//<include src="background_main.js"/>

Powered by Google App Engine
This is Rietveld 408576698