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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_download_observer.cc

Issue 10837338: Remove "GData" prefix from non-GData specific classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. 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 unified diff | Download patch | Annotate | Revision Log
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/gdata/gdata_download_observer.h" 5 #include "chrome/browser/chromeos/gdata/gdata_download_observer.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/supports_user_data.h" 9 #include "base/supports_user_data.h"
10 #include "chrome/browser/chromeos/gdata/drive_service_interface.h" 10 #include "chrome/browser/chromeos/gdata/drive_service_interface.h"
11 #include "chrome/browser/chromeos/gdata/gdata.pb.h" 11 #include "chrome/browser/chromeos/gdata/gdata.pb.h"
12 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h" 12 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h"
13 #include "chrome/browser/chromeos/gdata/gdata_system_service.h" 13 #include "chrome/browser/chromeos/gdata/gdata_system_service.h"
14 #include "chrome/browser/chromeos/gdata/gdata_upload_file_info.h" 14 #include "chrome/browser/chromeos/gdata/gdata_upload_file_info.h"
15 #include "chrome/browser/chromeos/gdata/gdata_uploader.h" 15 #include "chrome/browser/chromeos/gdata/gdata_uploader.h"
16 #include "chrome/browser/chromeos/gdata/gdata_util.h" 16 #include "chrome/browser/chromeos/gdata/gdata_util.h"
17 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" 17 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h"
18 #include "chrome/browser/chromeos/gdata/gdata_wapi_service.h"
kochi 2012/08/21 05:09:23 Removed.
18 #include "chrome/browser/download/download_completion_blocker.h" 19 #include "chrome/browser/download/download_completion_blocker.h"
19 #include "chrome/browser/profiles/profile_manager.h" 20 #include "chrome/browser/profiles/profile_manager.h"
20 #include "net/base/net_util.h" 21 #include "net/base/net_util.h"
21 22
22 using content::BrowserThread; 23 using content::BrowserThread;
23 using content::DownloadManager; 24 using content::DownloadManager;
24 using content::DownloadItem; 25 using content::DownloadItem;
25 26
26 namespace gdata { 27 namespace gdata {
27 namespace { 28 namespace {
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 // use the final target path when the download item is in COMPLETE state. 577 // use the final target path when the download item is in COMPLETE state.
577 file_system_->AddUploadedFile(UPLOAD_NEW_FILE, 578 file_system_->AddUploadedFile(UPLOAD_NEW_FILE,
578 upload_data->virtual_dir_path(), 579 upload_data->virtual_dir_path(),
579 entry.Pass(), 580 entry.Pass(),
580 download->GetTargetFilePath(), 581 download->GetTargetFilePath(),
581 GDataCache::FILE_OPERATION_MOVE, 582 GDataCache::FILE_OPERATION_MOVE,
582 base::Bind(&base::DoNothing)); 583 base::Bind(&base::DoNothing));
583 } 584 }
584 585
585 } // namespace gdata 586 } // namespace gdata
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698