| 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_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "base/timer.h" | 14 #include "base/timer.h" |
| 15 #include "chrome/browser/chromeos/gdata/drive_cache.h" | 15 #include "chrome/browser/chromeos/gdata/drive_cache.h" |
| 16 #include "chrome/browser/chromeos/gdata/drive_file_system_interface.h" | 16 #include "chrome/browser/chromeos/gdata/drive_file_system_interface.h" |
| 17 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" | |
| 18 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h" | 17 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h" |
| 18 #include "chrome/browser/google_apis/gdata_errorcode.h" |
| 19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
| 20 | 20 |
| 21 class PrefChangeRegistrar; | 21 class PrefChangeRegistrar; |
| 22 | 22 |
| 23 namespace base { | 23 namespace base { |
| 24 struct PlatformFileInfo; | 24 struct PlatformFileInfo; |
| 25 class SequencedTaskRunner; | 25 class SequencedTaskRunner; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace gdata { | 28 namespace gdata { |
| (...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 // invalidate the weak pointers before any other members are destroyed. | 929 // invalidate the weak pointers before any other members are destroyed. |
| 930 base::WeakPtrFactory<DriveFileSystem> ui_weak_ptr_factory_; | 930 base::WeakPtrFactory<DriveFileSystem> ui_weak_ptr_factory_; |
| 931 // Unlike other classes, we need this as we need this to redirect a task | 931 // Unlike other classes, we need this as we need this to redirect a task |
| 932 // from IO thread to UI thread. | 932 // from IO thread to UI thread. |
| 933 base::WeakPtr<DriveFileSystem> ui_weak_ptr_; | 933 base::WeakPtr<DriveFileSystem> ui_weak_ptr_; |
| 934 }; | 934 }; |
| 935 | 935 |
| 936 } // namespace gdata | 936 } // namespace gdata |
| 937 | 937 |
| 938 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_H_ | 938 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_H_ |
| OLD | NEW |