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

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

Issue 10920091: Move Drive API files to google_apis directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reflect comments Created 8 years, 3 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/drive_download_observer.h" 5 #include "chrome/browser/chromeos/gdata/drive_download_observer.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
12 #include "base/supports_user_data.h" 12 #include "base/supports_user_data.h"
13 #include "chrome/browser/chromeos/gdata/drive.pb.h" 13 #include "chrome/browser/chromeos/gdata/drive.pb.h"
14 #include "chrome/browser/chromeos/gdata/drive_file_system_interface.h" 14 #include "chrome/browser/chromeos/gdata/drive_file_system_interface.h"
15 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h" 15 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h"
16 #include "chrome/browser/chromeos/gdata/drive_service_interface.h" 16 #include "chrome/browser/chromeos/gdata/drive_service_interface.h"
17 #include "chrome/browser/chromeos/gdata/drive_system_service.h" 17 #include "chrome/browser/chromeos/gdata/drive_system_service.h"
18 #include "chrome/browser/chromeos/gdata/gdata_util.h"
19 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h"
20 #include "chrome/browser/download/download_completion_blocker.h" 18 #include "chrome/browser/download/download_completion_blocker.h"
19 #include "chrome/browser/google_apis/gdata_util.h"
20 #include "chrome/browser/google_apis/gdata_wapi_parser.h"
21 #include "chrome/browser/profiles/profile_manager.h" 21 #include "chrome/browser/profiles/profile_manager.h"
22 #include "net/base/net_util.h" 22 #include "net/base/net_util.h"
23 23
24 using content::BrowserThread; 24 using content::BrowserThread;
25 using content::DownloadManager; 25 using content::DownloadManager;
26 using content::DownloadItem; 26 using content::DownloadItem;
27 27
28 namespace gdata { 28 namespace gdata {
29 namespace { 29 namespace {
30 30
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 "], file_path=[" + file_path.value() + 703 "], file_path=[" + file_path.value() +
704 "], content_type=[" + content_type + 704 "], content_type=[" + content_type +
705 "], content_length=[" + base::UintToString(content_length) + 705 "], content_length=[" + base::UintToString(content_length) +
706 "], upload_location=[" + upload_location.possibly_invalid_spec() + 706 "], upload_location=[" + upload_location.possibly_invalid_spec() +
707 "], drive_path=[" + drive_path.value() + 707 "], drive_path=[" + drive_path.value() +
708 "], all_bytes_present=[" + (all_bytes_present ? "true" : "false") + 708 "], all_bytes_present=[" + (all_bytes_present ? "true" : "false") +
709 "]"; 709 "]";
710 } 710 }
711 711
712 } // namespace gdata 712 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_api_service.cc ('k') | chrome/browser/chromeos/gdata/drive_entry_kinds.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698