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

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

Issue 10384155: [filemanager] Content metadata moved to the cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Bug Created 8 years, 7 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/app/generated_resources.grd ('k') | chrome/browser/resources/file_manager/gallery.html » ('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 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 SET_STRING(IDS_FILE_BROWSER, GLINK_DOCUMENT_FILE_TYPE); 1496 SET_STRING(IDS_FILE_BROWSER, GLINK_DOCUMENT_FILE_TYPE);
1497 1497
1498 SET_STRING(IDS_FILE_BROWSER, GDATA_PRODUCT_NAME); 1498 SET_STRING(IDS_FILE_BROWSER, GDATA_PRODUCT_NAME);
1499 SET_STRING(IDS_FILE_BROWSER, GDATA_LOADING); 1499 SET_STRING(IDS_FILE_BROWSER, GDATA_LOADING);
1500 SET_STRING(IDS_FILE_BROWSER, GDATA_LOADING_PROGRESS); 1500 SET_STRING(IDS_FILE_BROWSER, GDATA_LOADING_PROGRESS);
1501 SET_STRING(IDS_FILE_BROWSER, GDATA_CANNOT_REACH); 1501 SET_STRING(IDS_FILE_BROWSER, GDATA_CANNOT_REACH);
1502 SET_STRING(IDS_FILE_BROWSER, GDATA_LEARN_MORE); 1502 SET_STRING(IDS_FILE_BROWSER, GDATA_LEARN_MORE);
1503 SET_STRING(IDS_FILE_BROWSER, GDATA_RETRY); 1503 SET_STRING(IDS_FILE_BROWSER, GDATA_RETRY);
1504 1504
1505 SET_STRING(IDS_FILE_BROWSER, AUDIO_PLAYER_TITLE); 1505 SET_STRING(IDS_FILE_BROWSER, AUDIO_PLAYER_TITLE);
1506 SET_STRING(IDS_FILE_BROWSER, AUDIO_PLAYER_DEFAULT_ARTIST);
1506 1507
1507 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_GENERIC); 1508 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_GENERIC);
1508 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_NOT_FOUND); 1509 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_NOT_FOUND);
1509 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_SECURITY); 1510 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_SECURITY);
1510 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_NOT_READABLE); 1511 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_NOT_READABLE);
1511 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_NO_MODIFICATION_ALLOWED); 1512 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_NO_MODIFICATION_ALLOWED);
1512 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_INVALID_STATE); 1513 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_INVALID_STATE);
1513 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_INVALID_MODIFICATION); 1514 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_INVALID_MODIFICATION);
1514 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_PATH_EXISTS); 1515 SET_STRING(IDS_FILE_BROWSER, FILE_ERROR_PATH_EXISTS);
1515 1516
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 gdata::GDataSystemService* system_service = 2142 gdata::GDataSystemService* system_service =
2142 gdata::GDataSystemServiceFactory::GetForProfile(profile_); 2143 gdata::GDataSystemServiceFactory::GetForProfile(profile_);
2143 if (!system_service || !system_service->file_system()) 2144 if (!system_service || !system_service->file_system())
2144 return false; 2145 return false;
2145 2146
2146 FilePath directory_path = GetVirtualPathFromURL(GURL(file_url_as_string)); 2147 FilePath directory_path = GetVirtualPathFromURL(GURL(file_url_as_string));
2147 system_service->file_system()->RequestDirectoryRefresh(directory_path); 2148 system_service->file_system()->RequestDirectoryRefresh(directory_path);
2148 2149
2149 return true; 2150 return true;
2150 } 2151 }
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/file_manager/gallery.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698