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_DRIVE_CHANGE_LIST_LOADER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "base/time.h" | 17 #include "base/time/time.h" |
18 #include "chrome/browser/chromeos/drive/file_errors.h" | 18 #include "chrome/browser/chromeos/drive/file_errors.h" |
19 #include "chrome/browser/google_apis/gdata_errorcode.h" | 19 #include "chrome/browser/google_apis/gdata_errorcode.h" |
20 | 20 |
21 class GURL; | 21 class GURL; |
22 | 22 |
23 namespace base { | 23 namespace base { |
24 class SequencedTaskRunner; | 24 class SequencedTaskRunner; |
25 } // namespace base | 25 } // namespace base |
26 | 26 |
27 namespace google_apis { | 27 namespace google_apis { |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 // Note: This should remain the last member so it'll be destroyed and | 293 // Note: This should remain the last member so it'll be destroyed and |
294 // invalidate its weak pointers before any other members are destroyed. | 294 // invalidate its weak pointers before any other members are destroyed. |
295 base::WeakPtrFactory<ChangeListLoader> weak_ptr_factory_; | 295 base::WeakPtrFactory<ChangeListLoader> weak_ptr_factory_; |
296 DISALLOW_COPY_AND_ASSIGN(ChangeListLoader); | 296 DISALLOW_COPY_AND_ASSIGN(ChangeListLoader); |
297 }; | 297 }; |
298 | 298 |
299 } // namespace internal | 299 } // namespace internal |
300 } // namespace drive | 300 } // namespace drive |
301 | 301 |
302 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ | 302 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ |
OLD | NEW |