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

Unified Diff: chrome/browser/chromeos/drive/drive_protocol_handler.cc

Issue 14755002: drive: Drop "Drive" from FakeDriveFileSystem and MockDriveFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some more cleanup 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
Index: chrome/browser/chromeos/drive/drive_protocol_handler.cc
diff --git a/chrome/browser/chromeos/drive/drive_protocol_handler.cc b/chrome/browser/chromeos/drive/drive_protocol_handler.cc
index 16e38ee862d28df3ee009b285be0873cdba7e8c4..e66e3dd067886e65f67f5ef41d55e75b96c1db3a 100644
--- a/chrome/browser/chromeos/drive/drive_protocol_handler.cc
+++ b/chrome/browser/chromeos/drive/drive_protocol_handler.cc
@@ -20,7 +20,7 @@ namespace drive {
namespace {
// Helper function to get DriveFileSystemInterface from Profile.
-DriveFileSystemInterface* GetDriveFileSystem(void* profile_id) {
+DriveFileSystemInterface* GetFileSystem(void* profile_id) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
// |profile_id| needs to be checked with ProfileManager::IsValidProfile
@@ -47,7 +47,7 @@ net::URLRequestJob* DriveProtocolHandler::MaybeCreateJob(
net::URLRequest* request, net::NetworkDelegate* network_delegate) const {
DVLOG(1) << "Handling url: " << request->url().spec();
return new DriveURLRequestJob(
- base::Bind(&GetDriveFileSystem, profile_id_), request, network_delegate);
+ base::Bind(&GetFileSystem, profile_id_), request, network_delegate);
}
} // namespace drive

Powered by Google App Engine
This is Rietveld 408576698