OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_FAKE_FILE_SYSTEM_H_ | 5 #ifndef COMPONENTS_DRIVE_FAKE_FILE_SYSTEM_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_ | 6 #define COMPONENTS_DRIVE_FAKE_FILE_SYSTEM_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/files/scoped_temp_dir.h" | 12 #include "base/files/scoped_temp_dir.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "components/drive/file_errors.h" | 14 #include "components/drive/file_errors.h" |
15 #include "components/drive/file_system_interface.h" | 15 #include "components/drive/file_system_interface.h" |
16 #include "google_apis/drive/drive_api_error_codes.h" | 16 #include "google_apis/drive/drive_api_error_codes.h" |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 // Note: This should remain the last member so it'll be destroyed and | 187 // Note: This should remain the last member so it'll be destroyed and |
188 // invalidate the weak pointers before any other members are destroyed. | 188 // invalidate the weak pointers before any other members are destroyed. |
189 base::WeakPtrFactory<FakeFileSystem> weak_ptr_factory_; | 189 base::WeakPtrFactory<FakeFileSystem> weak_ptr_factory_; |
190 | 190 |
191 DISALLOW_COPY_AND_ASSIGN(FakeFileSystem); | 191 DISALLOW_COPY_AND_ASSIGN(FakeFileSystem); |
192 }; | 192 }; |
193 | 193 |
194 } // namespace test_util | 194 } // namespace test_util |
195 } // namespace drive | 195 } // namespace drive |
196 | 196 |
197 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_ | 197 #endif // COMPONENTS_DRIVE_FAKE_FILE_SYSTEM_H_ |
OLD | NEW |