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

Side by Side Diff: chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc

Issue 363373003: Replace MessageLoopProxy::current() with ThreadTaskRunnerHandle::Get() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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
« no previous file with comments | « chrome/browser/sync_file_system/sync_file_system_service_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" 5 #include "chrome/browser/sync_file_system/syncable_file_system_util.h"
6 6
7 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/message_loop/message_loop_proxy.h"
11 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h" 10 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h"
12 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" 11 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h"
13 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
14 #include "webkit/browser/fileapi/external_mount_points.h" 13 #include "webkit/browser/fileapi/external_mount_points.h"
15 #include "webkit/common/fileapi/file_system_types.h" 14 #include "webkit/common/fileapi/file_system_types.h"
16 15
17 using fileapi::ExternalMountPoints; 16 using fileapi::ExternalMountPoints;
18 using fileapi::FileSystemURL; 17 using fileapi::FileSystemURL;
19 18
20 namespace sync_file_system { 19 namespace sync_file_system {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // False case: different origin. 131 // False case: different origin.
133 EXPECT_FALSE(CreateFileSystemURL(root1 + parent).IsParent( 132 EXPECT_FALSE(CreateFileSystemURL(root1 + parent).IsParent(
134 CreateFileSystemURL(root2 + child))); 133 CreateFileSystemURL(root2 + child)));
135 EXPECT_FALSE(CreateFileSystemURL(root2 + parent).IsParent( 134 EXPECT_FALSE(CreateFileSystemURL(root2 + parent).IsParent(
136 CreateFileSystemURL(root1 + child))); 135 CreateFileSystemURL(root1 + child)));
137 136
138 RevokeSyncableFileSystem(); 137 RevokeSyncableFileSystem();
139 } 138 }
140 139
141 } // namespace sync_file_system 140 } // namespace sync_file_system
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/sync_file_system_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698