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

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

Issue 10836275: Fix gdata includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix gdata includes. 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/gdata.pb.h" 10 #include "chrome/browser/chromeos/gdata/gdata.pb.h"
11 #include "chrome/browser/chromeos/gdata/gdata_documents_service.h" 11 #include "chrome/browser/chromeos/gdata/gdata_documents_service.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/download/download_completion_blocker.h" 18 #include "chrome/browser/download/download_completion_blocker.h"
18 #include "chrome/browser/profiles/profile_manager.h" 19 #include "chrome/browser/profiles/profile_manager.h"
19 #include "net/base/net_util.h" 20 #include "net/base/net_util.h"
20 21
21 using content::BrowserThread; 22 using content::BrowserThread;
22 using content::DownloadManager; 23 using content::DownloadManager;
23 using content::DownloadItem; 24 using content::DownloadItem;
24 25
25 namespace gdata { 26 namespace gdata {
26 namespace { 27 namespace {
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 // use the final target path when the download item is in COMPLETE state. 575 // use the final target path when the download item is in COMPLETE state.
575 file_system_->AddUploadedFile(UPLOAD_NEW_FILE, 576 file_system_->AddUploadedFile(UPLOAD_NEW_FILE,
576 upload_data->virtual_dir_path(), 577 upload_data->virtual_dir_path(),
577 entry.Pass(), 578 entry.Pass(),
578 download->GetTargetFilePath(), 579 download->GetTargetFilePath(),
579 GDataCache::FILE_OPERATION_MOVE, 580 GDataCache::FILE_OPERATION_MOVE,
580 base::Bind(&base::DoNothing)); 581 base::Bind(&base::DoNothing));
581 } 582 }
582 583
583 } // namespace gdata 584 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_directory_service_unittest.cc ('k') | chrome/browser/chromeos/gdata/gdata_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698