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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager_util.h

Issue 9969204: Removed obsolete parameter from file_manager_util::ViewFile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // the left panel, and that is all we want. 60 // the left panel, and that is all we want.
61 // If there is no File Browser open, this call opens a new one pointing to 61 // If there is no File Browser open, this call opens a new one pointing to
62 // |path|. In this case the tab will automatically close on |path| unmount. 62 // |path|. In this case the tab will automatically close on |path| unmount.
63 void ViewRemovableDrive(const FilePath& path); 63 void ViewRemovableDrive(const FilePath& path);
64 64
65 // Opens file browser UI in its own tab on file system location defined with 65 // Opens file browser UI in its own tab on file system location defined with
66 // |dir|. 66 // |dir|.
67 void ViewFolder(const FilePath& dir); 67 void ViewFolder(const FilePath& dir);
68 68
69 // Opens file with the default File Browser handler. 69 // Opens file with the default File Browser handler.
70 // TODO(kaznacheev) remove the deprecated_enqueue parameter. 70 void ViewFile(const FilePath& path);
71 void ViewFile(const FilePath& path, bool deprecated_enqueue);
72 71
73 // Opens file browser on the folder containing the file, with the file selected. 72 // Opens file browser on the folder containing the file, with the file selected.
74 void ShowFileInFolder(const FilePath& path); 73 void ShowFileInFolder(const FilePath& path);
75 74
76 // Tries to open |file| directly in the browser. Returns false if the browser 75 // Tries to open |file| directly in the browser. Returns false if the browser
77 // can't directly handle this type of file. 76 // can't directly handle this type of file.
78 bool TryViewingFile(Profile* profile, const FilePath& path); 77 bool TryViewingFile(Profile* profile, const FilePath& path);
79 78
80 void InstallCRX(Profile* profile, const FilePath& path); 79 void InstallCRX(Profile* profile, const FilePath& path);
81 80
82 bool ShouldBeOpenedWithPdfPlugin(Profile* profile, const char* file_extension); 81 bool ShouldBeOpenedWithPdfPlugin(Profile* profile, const char* file_extension);
83 82
84 // Converts the vector of progress status to their JSON (Value) form. 83 // Converts the vector of progress status to their JSON (Value) form.
85 base::ListValue* ProgressStatusVectorToListValue( 84 base::ListValue* ProgressStatusVectorToListValue(
86 Profile* profile, const GURL& origin_url, 85 Profile* profile, const GURL& origin_url,
87 const std::vector<gdata::GDataOperationRegistry::ProgressStatus>& list); 86 const std::vector<gdata::GDataOperationRegistry::ProgressStatus>& list);
88 87
89 } // namespace file_manager_util 88 } // namespace file_manager_util
90 89
91 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_ 90 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698