| 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/api/prefs/pref_change_registrar.h" |
| 18 #include "chrome/browser/chromeos/gdata/gdata_cache.h" | 19 #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_directory_service.h" |
| 20 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" | 21 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
| 21 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h" | 22 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h" |
| 22 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h" | 23 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h" |
| 23 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.h" | 24 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.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 class SequencedTaskRunner; | 28 class SequencedTaskRunner; |
| 29 } | 29 } |
| 30 | 30 |
| 31 namespace gdata { | 31 namespace gdata { |
| 32 | 32 |
| 33 class DocumentsServiceInterface; | 33 class DocumentsServiceInterface; |
| 34 class DriveWebAppsRegistryInterface; | 34 class DriveWebAppsRegistryInterface; |
| (...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 // invalidate the weak pointers before any other members are destroyed. | 855 // invalidate the weak pointers before any other members are destroyed. |
| 856 base::WeakPtrFactory<GDataFileSystem> ui_weak_ptr_factory_; | 856 base::WeakPtrFactory<GDataFileSystem> ui_weak_ptr_factory_; |
| 857 // Unlike other classes, we need this as we need this to redirect a task | 857 // Unlike other classes, we need this as we need this to redirect a task |
| 858 // from IO thread to UI thread. | 858 // from IO thread to UI thread. |
| 859 base::WeakPtr<GDataFileSystem> ui_weak_ptr_; | 859 base::WeakPtr<GDataFileSystem> ui_weak_ptr_; |
| 860 }; | 860 }; |
| 861 | 861 |
| 862 } // namespace gdata | 862 } // namespace gdata |
| 863 | 863 |
| 864 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ | 864 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ |
| OLD | NEW |