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

Side by Side Diff: chrome/browser/chromeos/extensions/file_browser_private_api.cc

Issue 9839009: [filebrowser] Show progress indication, while files from GData are being downloaded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/resources/file_manager/css/file_manager.css » ('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 #include "chrome/browser/chromeos/extensions/file_browser_private_api.h" 5 #include "chrome/browser/chromeos/extensions/file_browser_private_api.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1291 SET_STRING(IDS_FILE_BROWSER, DOWNLOADS_DIRECTORY_WARNING); 1291 SET_STRING(IDS_FILE_BROWSER, DOWNLOADS_DIRECTORY_WARNING);
1292 1292
1293 SET_STRING(IDS_FILE_BROWSER, ERROR_CREATING_FOLDER); 1293 SET_STRING(IDS_FILE_BROWSER, ERROR_CREATING_FOLDER);
1294 SET_STRING(IDS_FILE_BROWSER, ERROR_INVALID_CHARACTER); 1294 SET_STRING(IDS_FILE_BROWSER, ERROR_INVALID_CHARACTER);
1295 SET_STRING(IDS_FILE_BROWSER, ERROR_RESERVED_NAME); 1295 SET_STRING(IDS_FILE_BROWSER, ERROR_RESERVED_NAME);
1296 SET_STRING(IDS_FILE_BROWSER, ERROR_HIDDEN_NAME); 1296 SET_STRING(IDS_FILE_BROWSER, ERROR_HIDDEN_NAME);
1297 SET_STRING(IDS_FILE_BROWSER, ERROR_WHITESPACE_NAME); 1297 SET_STRING(IDS_FILE_BROWSER, ERROR_WHITESPACE_NAME);
1298 SET_STRING(IDS_FILE_BROWSER, ERROR_NEW_FOLDER_EMPTY_NAME); 1298 SET_STRING(IDS_FILE_BROWSER, ERROR_NEW_FOLDER_EMPTY_NAME);
1299 SET_STRING(IDS_FILE_BROWSER, NEW_FOLDER_BUTTON_LABEL); 1299 SET_STRING(IDS_FILE_BROWSER, NEW_FOLDER_BUTTON_LABEL);
1300 SET_STRING(IDS_FILE_BROWSER, FILENAME_LABEL); 1300 SET_STRING(IDS_FILE_BROWSER, FILENAME_LABEL);
1301 SET_STRING(IDS_FILE_BROWSER, PREPARING_LABEL);
1301 1302
1302 SET_STRING(IDS_FILE_BROWSER, DIMENSIONS_LABEL); 1303 SET_STRING(IDS_FILE_BROWSER, DIMENSIONS_LABEL);
1303 SET_STRING(IDS_FILE_BROWSER, DIMENSIONS_FORMAT); 1304 SET_STRING(IDS_FILE_BROWSER, DIMENSIONS_FORMAT);
1304 1305
1305 SET_STRING(IDS_FILE_BROWSER, IMAGE_DIMENSIONS); 1306 SET_STRING(IDS_FILE_BROWSER, IMAGE_DIMENSIONS);
1306 SET_STRING(IDS_FILE_BROWSER, VOLUME_LABEL); 1307 SET_STRING(IDS_FILE_BROWSER, VOLUME_LABEL);
1307 SET_STRING(IDS_FILE_BROWSER, READ_ONLY); 1308 SET_STRING(IDS_FILE_BROWSER, READ_ONLY);
1308 1309
1309 SET_STRING(IDS_FILE_BROWSER, ARCHIVE_MOUNT_FAILED); 1310 SET_STRING(IDS_FILE_BROWSER, ARCHIVE_MOUNT_FAILED);
1310 SET_STRING(IDS_FILE_BROWSER, UNMOUNT_FAILED); 1311 SET_STRING(IDS_FILE_BROWSER, UNMOUNT_FAILED);
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
1910 local_source_file, 1911 local_source_file,
1911 remote_destination_file, 1912 remote_destination_file,
1912 base::Bind(&TransferFileFunction::OnTransferCompleted, 1913 base::Bind(&TransferFileFunction::OnTransferCompleted,
1913 this)); 1914 this));
1914 } 1915 }
1915 1916
1916 void TransferFileFunction::OnTransferCompleted( 1917 void TransferFileFunction::OnTransferCompleted(
1917 base::PlatformFileError error) { 1918 base::PlatformFileError error) {
1918 SendResponse(error == base::PLATFORM_FILE_OK); 1919 SendResponse(error == base::PLATFORM_FILE_OK);
1919 } 1920 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/css/file_manager.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698