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

Side by Side Diff: extensions/browser/api/hid/hid_api.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/hid/hid_api.h ('k') | extensions/browser/api/hid/hid_apitest.cc » ('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 "extensions/browser/api/hid/hid_api.h" 5 #include "extensions/browser/api/hid/hid_api.h"
6 6
7 #include <stdint.h>
8
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "device/core/device_client.h" 12 #include "device/core/device_client.h"
11 #include "device/hid/hid_connection.h" 13 #include "device/hid/hid_connection.h"
12 #include "device/hid/hid_device_filter.h" 14 #include "device/hid/hid_device_filter.h"
13 #include "device/hid/hid_device_info.h" 15 #include "device/hid/hid_device_info.h"
14 #include "device/hid/hid_service.h" 16 #include "device/hid/hid_service.h"
15 #include "extensions/browser/api/api_resource_manager.h" 17 #include "extensions/browser/api/api_resource_manager.h"
16 #include "extensions/browser/api/device_permissions_prompt.h" 18 #include "extensions/browser/api/device_permissions_prompt.h"
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 356
355 void HidSendFeatureReportFunction::OnFinished(bool success) { 357 void HidSendFeatureReportFunction::OnFinished(bool success) {
356 if (success) { 358 if (success) {
357 Respond(NoArguments()); 359 Respond(NoArguments());
358 } else { 360 } else {
359 Respond(Error(kErrorTransfer)); 361 Respond(Error(kErrorTransfer));
360 } 362 }
361 } 363 }
362 364
363 } // namespace extensions 365 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/hid/hid_api.h ('k') | extensions/browser/api/hid/hid_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698