| 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_GDATA_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "base/platform_file.h" | 16 #include "base/platform_file.h" |
| 17 #include "base/timer.h" | 17 #include "base/timer.h" |
| 18 #include "chrome/browser/chromeos/gdata/gdata_cache.h" | 18 #include "chrome/browser/chromeos/gdata/gdata_cache.h" |
| 19 #include "chrome/browser/chromeos/gdata/gdata_directory_service.h" |
| 20 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
| 19 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h" | 21 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h" |
| 20 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" | |
| 21 #include "chrome/browser/chromeos/gdata/gdata_files.h" | |
| 22 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h" | 22 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h" |
| 23 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.h" | 23 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.h" |
| 24 #include "chrome/browser/prefs/pref_change_registrar.h" | 24 #include "chrome/browser/prefs/pref_change_registrar.h" |
| 25 #include "content/public/browser/notification_observer.h" | 25 #include "content/public/browser/notification_observer.h" |
| 26 | 26 |
| 27 namespace base { | 27 namespace base { |
| 28 | 28 |
| 29 class SequencedTaskRunner; | 29 class SequencedTaskRunner; |
| 30 | 30 |
| 31 } // namespace base | 31 } // namespace base |
| (...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 // invalidate the weak pointers before any other members are destroyed. | 846 // invalidate the weak pointers before any other members are destroyed. |
| 847 base::WeakPtrFactory<GDataFileSystem> ui_weak_ptr_factory_; | 847 base::WeakPtrFactory<GDataFileSystem> ui_weak_ptr_factory_; |
| 848 // Unlike other classes, we need this as we need this to redirect a task | 848 // Unlike other classes, we need this as we need this to redirect a task |
| 849 // from IO thread to UI thread. | 849 // from IO thread to UI thread. |
| 850 base::WeakPtr<GDataFileSystem> ui_weak_ptr_; | 850 base::WeakPtr<GDataFileSystem> ui_weak_ptr_; |
| 851 }; | 851 }; |
| 852 | 852 |
| 853 } // namespace gdata | 853 } // namespace gdata |
| 854 | 854 |
| 855 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ | 855 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ |
| OLD | NEW |