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

Side by Side Diff: components/drive/drive_uploader_unittest.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 (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 "components/drive/drive_uploader.h" 5 #include "components/drive/drive_uploader.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/bind.h" 15 #include "base/bind.h"
16 #include "base/files/scoped_temp_dir.h" 16 #include "base/files/scoped_temp_dir.h"
17 #include "base/memory/ptr_util.h" 17 #include "base/memory/ptr_util.h"
18 #include "base/message_loop/message_loop.h" 18 #include "base/message_loop/message_loop.h"
19 #include "base/run_loop.h" 19 #include "base/run_loop.h"
20 #include "base/thread_task_runner_handle.h" 20 #include "base/threading/thread_task_runner_handle.h"
21 #include "base/values.h" 21 #include "base/values.h"
22 #include "components/drive/service/dummy_drive_service.h" 22 #include "components/drive/service/dummy_drive_service.h"
23 #include "google_apis/drive/drive_api_parser.h" 23 #include "google_apis/drive/drive_api_parser.h"
24 #include "google_apis/drive/test_util.h" 24 #include "google_apis/drive/test_util.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 using google_apis::CancelCallback; 27 using google_apis::CancelCallback;
28 using google_apis::FileResource; 28 using google_apis::FileResource;
29 using google_apis::DriveApiErrorCode; 29 using google_apis::DriveApiErrorCode;
30 using google_apis::DRIVE_NO_CONNECTION; 30 using google_apis::DRIVE_NO_CONNECTION;
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 951
952 EXPECT_EQ(HTTP_NOT_FOUND, results[0].error); 952 EXPECT_EQ(HTTP_NOT_FOUND, results[0].error);
953 EXPECT_TRUE(results[0].resume_url.is_empty()); 953 EXPECT_TRUE(results[0].resume_url.is_empty());
954 EXPECT_FALSE(results[0].file); 954 EXPECT_FALSE(results[0].file);
955 955
956 EXPECT_EQ(HTTP_NOT_FOUND, results[1].error); 956 EXPECT_EQ(HTTP_NOT_FOUND, results[1].error);
957 EXPECT_TRUE(results[1].resume_url.is_empty()); 957 EXPECT_TRUE(results[1].resume_url.is_empty());
958 EXPECT_FALSE(results[1].file); 958 EXPECT_FALSE(results[1].file);
959 } 959 }
960 } // namespace drive 960 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/directory_loader_unittest.cc ('k') | components/drive/file_system_core_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698