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

Side by Side Diff: chrome/browser/ui/webui/chromeos/active_downloads_ui.cc

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 | « chrome/browser/platform_util_chromeos.cc ('k') | no next file » | 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 #include "chrome/browser/ui/webui/chromeos/active_downloads_ui.h" 5 #include "chrome/browser/ui/webui/chromeos/active_downloads_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 item->Delete(DownloadItem::DELETE_DUE_TO_USER_DISCARD); 238 item->Delete(DownloadItem::DELETE_DUE_TO_USER_DISCARD);
239 } 239 }
240 } 240 }
241 241
242 void ActiveDownloadsHandler::HandleShowAllFiles(const ListValue* args) { 242 void ActiveDownloadsHandler::HandleShowAllFiles(const ListValue* args) {
243 file_manager_util::ViewFolder( 243 file_manager_util::ViewFolder(
244 DownloadPrefs::FromDownloadManager(download_manager_)->download_path()); 244 DownloadPrefs::FromDownloadManager(download_manager_)->download_path());
245 } 245 }
246 246
247 void ActiveDownloadsHandler::ViewFile(const ListValue* args) { 247 void ActiveDownloadsHandler::ViewFile(const ListValue* args) {
248 file_manager_util::ViewFile(FilePath(UTF16ToUTF8(ExtractStringValue(args))), 248 file_manager_util::ViewFile(FilePath(UTF16ToUTF8(ExtractStringValue(args))));
249 false);
250 } 249 }
251 250
252 void ActiveDownloadsHandler::ModelChanged(DownloadManager* manager) { 251 void ActiveDownloadsHandler::ModelChanged(DownloadManager* manager) {
253 UpdateDownloadList(); 252 UpdateDownloadList();
254 } 253 }
255 254
256 void ActiveDownloadsHandler::HandleGetDownloads(const ListValue* args) { 255 void ActiveDownloadsHandler::HandleGetDownloads(const ListValue* args) {
257 UpdateDownloadList(); 256 UpdateDownloadList();
258 } 257 }
259 258
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 return (*it); 393 return (*it);
395 } 394 }
396 } 395 }
397 } 396 }
398 return NULL; 397 return NULL;
399 } 398 }
400 399
401 const ActiveDownloadsUI::DownloadList& ActiveDownloadsUI::GetDownloads() const { 400 const ActiveDownloadsUI::DownloadList& ActiveDownloadsUI::GetDownloads() const {
402 return handler_->downloads(); 401 return handler_->downloads();
403 } 402 }
OLDNEW
« no previous file with comments | « chrome/browser/platform_util_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698