| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_DOWNLOAD_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_DOWNLOAD_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_DOWNLOAD_OBSERVER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_DOWNLOAD_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
| 13 #include "content/public/browser/download_item.h" | 13 #include "content/public/browser/download_item.h" |
| 14 #include "content/public/browser/download_manager.h" | 14 #include "content/public/browser/download_manager.h" |
| 15 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" | 15 #include "chrome/browser/google_api/gdata_errorcode.h" |
| 16 | 16 |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 namespace gdata { | 19 namespace gdata { |
| 20 | 20 |
| 21 class DocumentEntry; | 21 class DocumentEntry; |
| 22 class DriveEntryProto; | 22 class DriveEntryProto; |
| 23 class DriveFileSystemInterface; | 23 class DriveFileSystemInterface; |
| 24 class DriveUploader; | 24 class DriveUploader; |
| 25 struct UploadFileInfo; | 25 struct UploadFileInfo; |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 // Note: This should remain the last member so it'll be destroyed and | 167 // Note: This should remain the last member so it'll be destroyed and |
| 168 // invalidate its weak pointers before any other members are destroyed. | 168 // invalidate its weak pointers before any other members are destroyed. |
| 169 base::WeakPtrFactory<DriveDownloadObserver> weak_ptr_factory_; | 169 base::WeakPtrFactory<DriveDownloadObserver> weak_ptr_factory_; |
| 170 | 170 |
| 171 DISALLOW_COPY_AND_ASSIGN(DriveDownloadObserver); | 171 DISALLOW_COPY_AND_ASSIGN(DriveDownloadObserver); |
| 172 }; | 172 }; |
| 173 | 173 |
| 174 } // namespace gdata | 174 } // namespace gdata |
| 175 | 175 |
| 176 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_DOWNLOAD_OBSERVER_H_ | 176 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_DOWNLOAD_OBSERVER_H_ |
| OLD | NEW |