summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/gdata/gdata_files.h
diff options
context:
space:
mode:
authorachuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 08:53:29 +0000
committerachuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 08:53:29 +0000
commit71563a8a98a6880fd7e0e2f1a940a12c036ad6a6 (patch)
tree515a4442d09c79c1a51d6babf422e8ccb3b120b9 /chrome/browser/chromeos/gdata/gdata_files.h
parentdc7ca6101067c8172a66826655e297462432fed3 (diff)
downloadchromium_src-71563a8a98a6880fd7e0e2f1a940a12c036ad6a6.zip
chromium_src-71563a8a98a6880fd7e0e2f1a940a12c036ad6a6.tar.gz
chromium_src-71563a8a98a6880fd7e0e2f1a940a12c036ad6a6.tar.bz2
GData downloads cleanup.
* Fix a leak in GDataFileSystem::OnTransferCompleted. * UploadCompletionCallback's returns an UploadFileInfo* (to enable it to be deleted) instead of DocumentEntry* * Split GDataUploader::RemovePendingUpload into UploadFailed and DeleteUpload. Make DeleteUpload public for use by GDataFileSystem::OnTransferCompleted. * GDataUploader::UploadFile takes a scoped_ptr to make the transfer of ownership clearer. * Rename GDataUploader::UploadComplete to GDataUploader::MoveFileToCache. * Rename GDataDownloadObserver::temp_download_path_ to gdata_tmp_download_path_ for consistency with code elsewhere. * Rearrange args in GDataDownloadObserver::Initialize * Some other renames * Get rid of gdata:: in gdata_file_system.cc * pragma once in all header files. BUG=NONE TEST=NONE Review URL: https://chromiumcodereview.appspot.com/9844006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/gdata/gdata_files.h')
-rw-r--r--chrome/browser/chromeos/gdata/gdata_files.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/gdata/gdata_files.h b/chrome/browser/chromeos/gdata/gdata_files.h
index dc806f1..f37e8eb 100644
--- a/chrome/browser/chromeos/gdata/gdata_files.h
+++ b/chrome/browser/chromeos/gdata/gdata_files.h
@@ -4,6 +4,7 @@
#ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILES_H_
#define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILES_H_
+#pragma once
#include <map>
#include <string>