Chromium Code Reviews| Index: chrome/browser/chromeos/gdata/gdata_download_observer.cc |
| diff --git a/chrome/browser/chromeos/gdata/gdata_download_observer.cc b/chrome/browser/chromeos/gdata/gdata_download_observer.cc |
| index 07bbad68f69826fc7104658350d7372c07012856..c91fa3c6eb4ec990dbc75ddec99acb185ddc53c7 100644 |
| --- a/chrome/browser/chromeos/gdata/gdata_download_observer.cc |
| +++ b/chrome/browser/chromeos/gdata/gdata_download_observer.cc |
| @@ -7,7 +7,7 @@ |
| #include "base/callback.h" |
| #include "base/file_util.h" |
| #include "base/supports_user_data.h" |
| -#include "chrome/browser/chromeos/gdata/documents_service_interface.h" |
| +#include "chrome/browser/chromeos/gdata/drive_service_interface.h" |
| #include "chrome/browser/chromeos/gdata/gdata.pb.h" |
| #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h" |
| #include "chrome/browser/chromeos/gdata/gdata_system_service.h" |
| @@ -15,6 +15,7 @@ |
| #include "chrome/browser/chromeos/gdata/gdata_uploader.h" |
| #include "chrome/browser/chromeos/gdata/gdata_util.h" |
| #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" |
| +#include "chrome/browser/chromeos/gdata/gdata_wapi_service.h" |
|
kochi
2012/08/21 02:34:51
Looks like an unnecessary header sneaked in. Remov
|
| #include "chrome/browser/download/download_completion_blocker.h" |
| #include "chrome/browser/profiles/profile_manager.h" |
| #include "net/base/net_util.h" |
| @@ -151,7 +152,7 @@ void OnEntryFound(Profile* profile, |
| } |
| } |
| -// Callback for DocumentsServiceInterface::Authenticate. |
| +// Callback for DriveServiceInterface::Authenticate. |
| void OnAuthenticate(Profile* profile, |
| const FilePath& gdata_path, |
| const base::Closure& substitute_callback, |
| @@ -216,11 +217,11 @@ void GDataDownloadObserver::SubstituteGDataDownloadPath(Profile* profile, |
| if (util::IsUnderGDataMountPoint(gdata_path)) { |
| // Can't access drive if we're not authenticated. |
| // We set off a chain of callbacks as follows: |
| - // DocumentsServiceInterface::Authenticate |
| + // DriveServiceInterface::Authenticate |
| // OnAuthenticate calls GDataFileSystem::GetEntryInfoByPath |
| // OnEntryFound calls GDataFileSystem::CreateDirectory (if necessary) |
| // OnCreateDirectory calls SubstituteGDataDownloadPathInternal |
| - GetSystemService(profile)->docs_service()->Authenticate( |
| + GetSystemService(profile)->drive_service()->Authenticate( |
| base::Bind(&OnAuthenticate, profile, gdata_path, |
| base::Bind(&SubstituteGDataDownloadPathInternal, |
| profile, callback))); |