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

Side by Side Diff: extensions/browser/api/usb/usb_apitest.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 5 years 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 | « extensions/browser/api/usb/usb_api.cc ('k') | extensions/browser/api/usb/usb_device_resource.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 <stddef.h>
6
5 #include "chrome/browser/extensions/extension_apitest.h" 7 #include "chrome/browser/extensions/extension_apitest.h"
6 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
7 #include "content/public/test/test_utils.h" 9 #include "content/public/test/test_utils.h"
8 #include "device/core/mock_device_client.h" 10 #include "device/core/mock_device_client.h"
9 #include "device/usb/mock_usb_device.h" 11 #include "device/usb/mock_usb_device.h"
10 #include "device/usb/mock_usb_device_handle.h" 12 #include "device/usb/mock_usb_device_handle.h"
11 #include "device/usb/mock_usb_service.h" 13 #include "device/usb/mock_usb_service.h"
12 #include "extensions/browser/api/device_permissions_prompt.h" 14 #include "extensions/browser/api/device_permissions_prompt.h"
13 #include "extensions/browser/api/usb/usb_api.h" 15 #include "extensions/browser/api/usb/usb_api.h"
14 #include "extensions/shell/browser/shell_extensions_api_client.h" 16 #include "extensions/shell/browser/shell_extensions_api_client.h"
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 237
236 TestExtensionsAPIClient test_api_client; 238 TestExtensionsAPIClient test_api_client;
237 ASSERT_TRUE(LoadApp("api_test/usb/get_user_selected_devices")); 239 ASSERT_TRUE(LoadApp("api_test/usb/get_user_selected_devices"));
238 ASSERT_TRUE(ready_listener.WaitUntilSatisfied()); 240 ASSERT_TRUE(ready_listener.WaitUntilSatisfied());
239 241
240 device_client_->usb_service()->RemoveDevice(mock_device_); 242 device_client_->usb_service()->RemoveDevice(mock_device_);
241 ASSERT_TRUE(result_listener.WaitUntilSatisfied()); 243 ASSERT_TRUE(result_listener.WaitUntilSatisfied());
242 } 244 }
243 245
244 } // namespace extensions 246 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/usb/usb_api.cc ('k') | extensions/browser/api/usb/usb_device_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698