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/drive_backend/sync_task_manager_unittest.cc

Issue 553983013: Remove storage-related redirect headers in webkit/common/, update #includes and DEPS files to use s… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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
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 "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
14 #include "chrome/browser/sync_file_system/drive_backend/sync_task.h" 14 #include "chrome/browser/sync_file_system/drive_backend/sync_task.h"
15 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" 15 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h"
16 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h" 16 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h"
17 #include "chrome/browser/sync_file_system/sync_file_system_test_util.h" 17 #include "chrome/browser/sync_file_system/sync_file_system_test_util.h"
18 #include "storage/common/fileapi/file_system_util.h"
18 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
19 #include "webkit/common/fileapi/file_system_util.h"
20 20
21 #define MAKE_PATH(path) \ 21 #define MAKE_PATH(path) \
22 base::FilePath(storage::VirtualPath::GetNormalizedFilePath( \ 22 base::FilePath(storage::VirtualPath::GetNormalizedFilePath( \
23 base::FilePath(FILE_PATH_LITERAL(path)))) 23 base::FilePath(FILE_PATH_LITERAL(path))))
24 24
25 namespace sync_file_system { 25 namespace sync_file_system {
26 namespace drive_backend { 26 namespace drive_backend {
27 27
28 namespace { 28 namespace {
29 29
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 667
668 EXPECT_EQ("task1: finished", log[i++]); 668 EXPECT_EQ("task1: finished", log[i++]);
669 669
670 EXPECT_EQ("task2: updating to /hoge/fuga/piyo", log[i++]); 670 EXPECT_EQ("task2: updating to /hoge/fuga/piyo", log[i++]);
671 EXPECT_EQ("task2: updated to /hoge/fuga/piyo", log[i++]); 671 EXPECT_EQ("task2: updated to /hoge/fuga/piyo", log[i++]);
672 EXPECT_EQ("task2: finished", log[i++]); 672 EXPECT_EQ("task2: finished", log[i++]);
673 } 673 }
674 674
675 } // namespace drive_backend 675 } // namespace drive_backend
676 } // namespace sync_file_system 676 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698