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

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

Issue 14076007: filemanager: Remove garbage values and params for SharedWithMe server-side search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/directory_model.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/directory_contents.js
diff --git a/chrome/browser/resources/file_manager/js/directory_contents.js b/chrome/browser/resources/file_manager/js/directory_contents.js
index 700f2efda3791992f365055b790b2d7367392cea..7d17ce4fa9e299c66a21c93b45549654178c37fa 100644
--- a/chrome/browser/resources/file_manager/js/directory_contents.js
+++ b/chrome/browser/resources/file_manager/js/directory_contents.js
@@ -435,17 +435,6 @@ DirectoryContentsBasic.prototype.createDirectory = function(
};
/**
- * List of search types for DirectoryContentsDriveSearch.
- * SEARCH_FULL uses the full feed to search from everything.
- * SEARCH_SHARED_WITH_ME uses the shared-with-me feed.
- * @enum {number}
- */
-DirectoryContentsDriveSearch.SearchType = {
- SEARCH_FULL: 0,
- SEARCH_SHARED_WITH_ME: 1
-};
-
-/**
* Delay to be used for drive search scan.
* The goal is to reduce the number of server requests when user is typing the
* query.
@@ -469,20 +458,17 @@ DirectoryContentsDriveSearch.MAX_RESULTS = 100;
* @param {DirectoryEntry} previousDirEntry DirectoryEntry that was current
* before the search.
* @param {string} query Search query.
- * @param {DirectoryContentsDriveSearch.SearchType} type Type of search.
* @constructor
* @extends {DirectoryContents}
*/
function DirectoryContentsDriveSearch(context,
dirEntry,
previousDirEntry,
- query,
- type) {
+ query) {
DirectoryContents.call(this, context);
- this.query_ = query;
- this.type_ = type;
this.directoryEntry_ = dirEntry;
this.previousDirectoryEntry_ = previousDirEntry;
+ this.query_ = query;
this.nextFeed_ = '';
this.done_ = false;
this.fetchedResultsNum_ = 0;
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/directory_model.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698