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

Unified Diff: ui/file_manager/zip_archiver/unpacker/js/background.js

Issue 2804453002: Move files from zip_archiver/unpacker/ to zip_archiver/. (Closed)
Patch Set: Move files from zip_archiver/unpacker/ to zip_archiver/. Created 3 years, 8 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: ui/file_manager/zip_archiver/unpacker/js/background.js
diff --git a/ui/file_manager/zip_archiver/unpacker/js/background.js b/ui/file_manager/zip_archiver/unpacker/js/background.js
deleted file mode 100644
index 96d04919ed0cd10fcace157516b1307db00f7a65..0000000000000000000000000000000000000000
--- a/ui/file_manager/zip_archiver/unpacker/js/background.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2014 The Chromium OS Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-'use strict';
-
-// Event called on opening a file with the extension or mime type
-// declared in the manifest file.
-chrome.app.runtime.onLaunched.addListener(unpacker.app.onLaunched);
-
-// Save the state before suspending the event page, so we can resume it
-// once new events arrive.
-chrome.runtime.onSuspend.addListener(unpacker.app.onSuspend);
-
-chrome.fileSystemProvider.onUnmountRequested.addListener(
- unpacker.app.onUnmountRequested);
-chrome.fileSystemProvider.onGetMetadataRequested.addListener(
- unpacker.app.onGetMetadataRequested);
-chrome.fileSystemProvider.onReadDirectoryRequested.addListener(
- unpacker.app.onReadDirectoryRequested);
-chrome.fileSystemProvider.onOpenFileRequested.addListener(
- unpacker.app.onOpenFileRequested);
-chrome.fileSystemProvider.onCloseFileRequested.addListener(
- unpacker.app.onCloseFileRequested);
-chrome.fileSystemProvider.onReadFileRequested.addListener(
- unpacker.app.onReadFileRequested);
-
-// Load the PNaCl module.
-unpacker.app.loadNaclModule('module.nmf', 'application/x-pnacl');
« no previous file with comments | « ui/file_manager/zip_archiver/unpacker/js/app.js ('k') | ui/file_manager/zip_archiver/unpacker/js/build-config.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698