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

Side by Side Diff: components/drive/drive_app_registry_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
« no previous file with comments | « components/drive/drive_app_registry.cc ('k') | components/drive/drive_notification_manager.h » ('j') | 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 "components/drive/drive_app_registry.h" 5 #include "components/drive/drive_app_registry.h"
6 6
7 #include <stddef.h>
8
7 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 12 #include "base/run_loop.h"
11 #include "base/values.h" 13 #include "base/values.h"
12 #include "components/drive/drive_app_registry_observer.h" 14 #include "components/drive/drive_app_registry_observer.h"
13 #include "components/drive/service/fake_drive_service.h" 15 #include "components/drive/service/fake_drive_service.h"
14 #include "google_apis/drive/drive_api_parser.h" 16 #include "google_apis/drive/drive_api_parser.h"
15 #include "google_apis/drive/test_util.h" 17 #include "google_apis/drive/test_util.h"
16 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 google_apis::test_util::CreateCopyResultCallback(&error)); 217 google_apis::test_util::CreateCopyResultCallback(&error));
216 base::RunLoop().RunUntilIdle(); 218 base::RunLoop().RunUntilIdle();
217 EXPECT_EQ(error, google_apis::HTTP_NOT_FOUND); 219 EXPECT_EQ(error, google_apis::HTTP_NOT_FOUND);
218 220
219 // Check that the number is not changed this time. 221 // Check that the number is not changed this time.
220 apps_registry_->GetAppList(&apps); 222 apps_registry_->GetAppList(&apps);
221 EXPECT_EQ(original_count - 1, apps.size()); 223 EXPECT_EQ(original_count - 1, apps.size());
222 } 224 }
223 225
224 } // namespace drive 226 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/drive_app_registry.cc ('k') | components/drive/drive_notification_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698