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

Unified Diff: chrome/browser/extensions/file_manager_util.h

Issue 8609008: Move a bunch of ChromeOS APIs out of chrome/browser/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/file_manager_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/file_manager_util.h
diff --git a/chrome/browser/extensions/file_manager_util.h b/chrome/browser/extensions/file_manager_util.h
deleted file mode 100644
index bf9f49d0aa634df167d2dfee10028f1611771a02..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/file_manager_util.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2011 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.
-
-#ifndef CHROME_BROWSER_EXTENSIONS_FILE_MANAGER_UTIL_H_
-#define CHROME_BROWSER_EXTENSIONS_FILE_MANAGER_UTIL_H_
-#pragma once
-
-#include <string>
-
-#include "base/file_path.h"
-#include "chrome/browser/ui/select_file_dialog.h"
-#include "googleurl/src/gurl.h"
-
-class Profile;
-
-extern const char kFileBrowserDomain[];
-
-// File manager helper methods.
-namespace file_manager_util {
-
-// Gets base file browser url.
-GURL GetFileBrowserExtensionUrl();
-GURL GetFileBrowserUrl();
-GURL GetMediaPlayerUrl();
-GURL GetMediaPlayerPlaylistUrl();
-
-// Converts |full_file_path| into external filesystem: url. Returns false
-// if |full_file_path| is not managed by the external filesystem provider.
-bool ConvertFileToFileSystemUrl(Profile* profile,
- const FilePath& full_file_path, const GURL& origin_url, GURL* url);
-
-// Converts |full_file_path| into |relative_path| within the external provider
-// in File API. Returns false if |full_file_path| is not managed by the
-// external filesystem provider.
-bool ConvertFileToRelativeFileSystemPath(Profile* profile,
- const FilePath& full_file_path, FilePath* relative_path);
-
-// Gets base file browser url for.
-GURL GetFileBrowserUrlWithParams(
- SelectFileDialog::Type type,
- const string16& title,
- const FilePath& default_virtual_path,
- const SelectFileDialog::FileTypeInfo* file_types,
- int file_type_index,
- const FilePath::StringType& default_extension);
-
-// Opens file browser UI in its own tab on file system location defined with
-// |dir|.
-void ViewFolder(const FilePath& dir);
-
-void ViewItem(const FilePath& full_path, bool enqueue);
-
-} // namespace file_manager_util
-
-#endif // CHROME_BROWSER_EXTENSIONS_FILE_MANAGER_UTIL_H_
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/file_manager_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698