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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/open_util.h

Issue 23945002: file_manager: Move non-binding code to c/b/chromeos/file_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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/chromeos/extensions/file_manager/open_util.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/open_util.h b/chrome/browser/chromeos/extensions/file_manager/open_util.h
deleted file mode 100644
index e910f2d2ccd41d791030417e055928af781ca1e8..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/extensions/file_manager/open_util.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// 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.
-//
-// This file provides functions for opening an item (file or directory) using
-// the file manager.
-
-#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_OPEN_UTIL_H_
-#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_OPEN_UTIL_H_
-
-namespace base {
-class FilePath;
-}
-
-namespace file_manager {
-namespace util {
-
-// Opens the file manager for the freshly mounted removable drive specified
-// by |file_path|.
-// If there is another file manager instance open, this call does nothing.
-// The mount event will cause the file manager to show the new drive in
-// the left panel.
-// If there is no file manager open, this call opens a new one pointing to
-// |file_path|. In this case the tab will automatically close on |file_path|
-// unmount.
-void OpenRemovableDrive(const base::FilePath& file_path);
-
-// Opens an item (file or directory). If the target is a directory, the
-// directory will be opened in the file manager. If the target is a file, the
-// file will be opened using a file handler, a file browser handler, or the
-// browser (open in a tab). The default handler has precedence over other
-// handlers, if defined for the type of the target file.
-void OpenItem(const base::FilePath& file_path);
-
-// Opens the file manager for the folder containing the item specified by
-// |file_path|, with the item selected.
-void ShowItemInFolder(const base::FilePath& file_path);
-
-} // namespace util
-} // namespace file_manager
-
-#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_OPEN_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698