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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc

Issue 337313002: [SyncFS] Remove unneeded #include from sync_task_manager.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/drive_backend/sync_task_manager.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 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 #include <deque> 5 #include <deque>
6 #include <string> 6 #include <string>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "chrome/browser/sync_file_system/drive_backend/sync_task.h"
13 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" 14 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h"
14 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h" 15 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h"
15 #include "chrome/browser/sync_file_system/sync_file_system_test_util.h" 16 #include "chrome/browser/sync_file_system/sync_file_system_test_util.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 #include "webkit/common/fileapi/file_system_util.h" 18 #include "webkit/common/fileapi/file_system_util.h"
18 19
19 #define MAKE_PATH(path) \ 20 #define MAKE_PATH(path) \
20 base::FilePath(fileapi::VirtualPath::GetNormalizedFilePath( \ 21 base::FilePath(fileapi::VirtualPath::GetNormalizedFilePath( \
21 base::FilePath(FILE_PATH_LITERAL(path)))) 22 base::FilePath(FILE_PATH_LITERAL(path))))
22 23
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 654
654 EXPECT_EQ("task1: finished", log[i++]); 655 EXPECT_EQ("task1: finished", log[i++]);
655 656
656 EXPECT_EQ("task2: updating to /hoge/fuga/piyo", log[i++]); 657 EXPECT_EQ("task2: updating to /hoge/fuga/piyo", log[i++]);
657 EXPECT_EQ("task2: updated to /hoge/fuga/piyo", log[i++]); 658 EXPECT_EQ("task2: updated to /hoge/fuga/piyo", log[i++]);
658 EXPECT_EQ("task2: finished", log[i++]); 659 EXPECT_EQ("task2: finished", log[i++]);
659 } 660 }
660 661
661 } // namespace drive_backend 662 } // namespace drive_backend
662 } // namespace sync_file_system 663 } // namespace sync_file_system
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698