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

Unified Diff: chrome/browser/chromeos/gdata/drive_task_executor.cc

Issue 10831363: Remove unnecessary gdata::, fix typos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for comment. Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_download_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/drive_task_executor.cc
diff --git a/chrome/browser/chromeos/gdata/drive_task_executor.cc b/chrome/browser/chromeos/gdata/drive_task_executor.cc
index 401e86e5b269697756cadb7b451b674e9bd31bd4..fb61fd55d6886c4fffeff5357e135129e3cb1aba 100644
--- a/chrome/browser/chromeos/gdata/drive_task_executor.cc
+++ b/chrome/browser/chromeos/gdata/drive_task_executor.cc
@@ -61,12 +61,12 @@ bool DriveTaskExecutor::ExecuteAndNotify(
raw_paths.push_back(raw_path);
}
- gdata::GDataSystemService* system_service =
- gdata::GDataSystemServiceFactory::GetForProfile(profile());
+ GDataSystemService* system_service =
+ GDataSystemServiceFactory::GetForProfile(profile());
DCHECK(current_index_ == 0);
if (!system_service || !system_service->file_system())
return false;
- gdata::GDataFileSystemInterface* file_system = system_service->file_system();
+ GDataFileSystemInterface* file_system = system_service->file_system();
// Reset the index, so we know when we're done.
current_index_ = raw_paths.size();
@@ -82,24 +82,24 @@ bool DriveTaskExecutor::ExecuteAndNotify(
void DriveTaskExecutor::OnFileEntryFetched(
GDataFileError error,
- scoped_ptr<gdata::GDataEntryProto> entry_proto) {
+ scoped_ptr<GDataEntryProto> entry_proto) {
// If we aborted, then this will be zero.
if (!current_index_)
return;
- gdata::GDataSystemService* system_service =
- gdata::GDataSystemServiceFactory::GetForProfile(profile());
+ GDataSystemService* system_service =
+ GDataSystemServiceFactory::GetForProfile(profile());
// Here, we are only insterested in files.
if (entry_proto.get() && !entry_proto->has_file_specific_info())
- error = gdata::GDATA_FILE_ERROR_NOT_FOUND;
+ error = GDATA_FILE_ERROR_NOT_FOUND;
if (!system_service || error != GDATA_FILE_OK) {
Done(false);
return;
}
- gdata::DocumentsServiceInterface* docs_service =
+ DocumentsServiceInterface* docs_service =
system_service->docs_service();
// Send off a request for the document service to authorize the apps for the
@@ -115,7 +115,7 @@ void DriveTaskExecutor::OnFileEntryFetched(
void DriveTaskExecutor::OnAppAuthorized(
const std::string& resource_id,
- gdata::GDataErrorCode error,
+ GDataErrorCode error,
scoped_ptr<base::Value> feed_data) {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
@@ -123,10 +123,10 @@ void DriveTaskExecutor::OnAppAuthorized(
if (!current_index_)
return;
- gdata::GDataSystemService* system_service =
- gdata::GDataSystemServiceFactory::GetForProfile(profile());
+ GDataSystemService* system_service =
+ GDataSystemServiceFactory::GetForProfile(profile());
- if (!system_service || error != gdata::HTTP_SUCCESS) {
+ if (!system_service || error != HTTP_SUCCESS) {
Done(false);
return;
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_download_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698