Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_file_system.h

Issue 10832331: Revert 151829 - Fix gdata includes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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" 19 #include "chrome/browser/chromeos/gdata/gdata_directory_service.h"
20 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" 20 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h"
21 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h" 21 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.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 class SequencedTaskRunner; 29 class SequencedTaskRunner;
29 } 30
31 } // namespace base
30 32
31 namespace gdata { 33 namespace gdata {
32 34
33 class DocumentsServiceInterface; 35 class DocumentsServiceInterface;
34 class DriveWebAppsRegistryInterface; 36 class DriveWebAppsRegistryInterface;
35 class GDataUploaderInterface;
36 class GDataWapiFeedLoader; 37 class GDataWapiFeedLoader;
37 struct UploadFileInfo; 38 struct UploadFileInfo;
38 39
39 // The production implementation of GDataFileSystemInterface. 40 // The production implementation of GDataFileSystemInterface.
40 class GDataFileSystem : public GDataFileSystemInterface, 41 class GDataFileSystem : public GDataFileSystemInterface,
41 public GDataWapiFeedLoader::Observer, 42 public GDataWapiFeedLoader::Observer,
42 public content::NotificationObserver { 43 public content::NotificationObserver {
43 public: 44 public:
44 GDataFileSystem(Profile* profile, 45 GDataFileSystem(Profile* profile,
45 GDataCache* cache, 46 GDataCache* cache,
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 // invalidate the weak pointers before any other members are destroyed. 846 // invalidate the weak pointers before any other members are destroyed.
846 base::WeakPtrFactory<GDataFileSystem> ui_weak_ptr_factory_; 847 base::WeakPtrFactory<GDataFileSystem> ui_weak_ptr_factory_;
847 // 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
848 // from IO thread to UI thread. 849 // from IO thread to UI thread.
849 base::WeakPtr<GDataFileSystem> ui_weak_ptr_; 850 base::WeakPtr<GDataFileSystem> ui_weak_ptr_;
850 }; 851 };
851 852
852 } // namespace gdata 853 } // namespace gdata
853 854
854 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 855 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_download_observer.cc ('k') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698