OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DIRECTORY_LOADER_H_ | 5 #ifndef COMPONENTS_DRIVE_DIRECTORY_LOADER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DIRECTORY_LOADER_H_ | 6 #define COMPONENTS_DRIVE_DIRECTORY_LOADER_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/callback.h" | 13 #include "base/callback.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 | 140 |
141 // Note: This should remain the last member so it'll be destroyed and | 141 // Note: This should remain the last member so it'll be destroyed and |
142 // invalidate its weak pointers before any other members are destroyed. | 142 // invalidate its weak pointers before any other members are destroyed. |
143 base::WeakPtrFactory<DirectoryLoader> weak_ptr_factory_; | 143 base::WeakPtrFactory<DirectoryLoader> weak_ptr_factory_; |
144 DISALLOW_COPY_AND_ASSIGN(DirectoryLoader); | 144 DISALLOW_COPY_AND_ASSIGN(DirectoryLoader); |
145 }; | 145 }; |
146 | 146 |
147 } // namespace internal | 147 } // namespace internal |
148 } // namespace drive | 148 } // namespace drive |
149 | 149 |
150 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DIRECTORY_LOADER_H_ | 150 #endif // COMPONENTS_DRIVE_DIRECTORY_LOADER_H_ |
OLD | NEW |