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

Side by Side Diff: webkit/fileapi/syncable/syncable_file_system_unittest.cc

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 #include "base/stl_util.h" 5 #include "base/stl_util.h"
6 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
7 #include "webkit/fileapi/file_system_context.h" 7 #include "webkit/fileapi/file_system_context.h"
8 #include "webkit/fileapi/file_system_task_runners.h" 8 #include "webkit/fileapi/file_system_task_runners.h"
9 #include "webkit/fileapi/file_system_types.h" 9 #include "webkit/fileapi/file_system_types.h"
10 #include "webkit/fileapi/isolated_context.h" 10 #include "webkit/fileapi/isolated_context.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 74 }
75 75
76 FileSystemContext* file_system_context() { 76 FileSystemContext* file_system_context() {
77 return file_system_.file_system_context(); 77 return file_system_.file_system_context();
78 } 78 }
79 79
80 LocalFileChangeTracker* change_tracker() { 80 LocalFileChangeTracker* change_tracker() {
81 return file_system_context()->change_tracker(); 81 return file_system_context()->change_tracker();
82 } 82 }
83 83
84 ScopedTempDir data_dir_; 84 base::ScopedTempDir data_dir_;
85 MessageLoop message_loop_; 85 MessageLoop message_loop_;
86 86
87 CannedSyncableFileSystem file_system_; 87 CannedSyncableFileSystem file_system_;
88 scoped_refptr<LocalFileSyncContext> sync_context_; 88 scoped_refptr<LocalFileSyncContext> sync_context_;
89 89
90 base::WeakPtrFactory<SyncableFileSystemTest> weak_factory_; 90 base::WeakPtrFactory<SyncableFileSystemTest> weak_factory_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemTest); 92 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemTest);
93 }; 93 };
94 94
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 SYNC_FILE_TYPE_DIRECTORY)); 223 SYNC_FILE_TYPE_DIRECTORY));
224 VerifyAndClearChange(URL(kPath1), 224 VerifyAndClearChange(URL(kPath1),
225 FileChange(FileChange::FILE_CHANGE_DELETE, 225 FileChange(FileChange::FILE_CHANGE_DELETE,
226 SYNC_FILE_TYPE_DIRECTORY)); 226 SYNC_FILE_TYPE_DIRECTORY));
227 VerifyAndClearChange(URL(kPath2), 227 VerifyAndClearChange(URL(kPath2),
228 FileChange(FileChange::FILE_CHANGE_DELETE, 228 FileChange(FileChange::FILE_CHANGE_DELETE,
229 SYNC_FILE_TYPE_FILE)); 229 SYNC_FILE_TYPE_FILE));
230 } 230 }
231 231
232 } // namespace fileapi 232 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/syncable/local_file_sync_context_unittest.cc ('k') | webkit/plugins/ppapi/quota_file_io_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698