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

Side by Side Diff: components/drive/file_system/search_operation_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 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 "components/drive/file_system/search_operation.h" 5 #include "components/drive/file_system/search_operation.h"
6 6
7 #include <stddef.h>
8
7 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
8 #include "components/drive/change_list_loader.h" 10 #include "components/drive/change_list_loader.h"
9 #include "components/drive/file_system/operation_test_base.h" 11 #include "components/drive/file_system/operation_test_base.h"
10 #include "components/drive/service/fake_drive_service.h" 12 #include "components/drive/service/fake_drive_service.h"
11 #include "content/public/test/test_utils.h" 13 #include "content/public/test/test_utils.h"
12 #include "google_apis/drive/drive_api_parser.h" 14 #include "google_apis/drive/drive_api_parser.h"
13 #include "google_apis/drive/test_util.h" 15 #include "google_apis/drive/test_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
15 17
16 namespace drive { 18 namespace drive {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // Unlock, this should resume the pending search. 150 // Unlock, this should resume the pending search.
149 lock.reset(); 151 lock.reset();
150 content::RunAllBlockingPoolTasksUntilIdle(); 152 content::RunAllBlockingPoolTasksUntilIdle();
151 EXPECT_EQ(FILE_ERROR_OK, error); 153 EXPECT_EQ(FILE_ERROR_OK, error);
152 ASSERT_TRUE(results); 154 ASSERT_TRUE(results);
153 EXPECT_EQ(1u, results->size()); 155 EXPECT_EQ(1u, results->size());
154 } 156 }
155 157
156 } // namespace file_system 158 } // namespace file_system
157 } // namespace drive 159 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/file_system/search_operation.cc ('k') | components/drive/file_system/truncate_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698