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

Side by Side Diff: chrome/common/extensions/permissions/usb_device_permission_data.cc

Issue 12378016: chrome: Update include paths of string_split.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
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 "chrome/common/extensions/permissions/usb_device_permission_data.h" 5 #include "chrome/common/extensions/permissions/usb_device_permission_data.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/string_split.h"
13 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/string_split.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/common/extensions/permissions/api_permission.h" 15 #include "chrome/common/extensions/permissions/api_permission.h"
16 #include "chrome/common/extensions/permissions/usb_device_permission.h" 16 #include "chrome/common/extensions/permissions/usb_device_permission.h"
17 17
18 namespace { 18 namespace {
19 19
20 const char* kProductIdKey = "productId"; 20 const char* kProductIdKey = "productId";
21 const char* kVendorIdKey = "vendorId"; 21 const char* kVendorIdKey = "vendorId";
22 22
23 } // namespace 23 } // namespace
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 return product_id_ < rhs.product_id_; 80 return product_id_ < rhs.product_id_;
81 return vendor_id_ < rhs.vendor_id_; 81 return vendor_id_ < rhs.vendor_id_;
82 } 82 }
83 83
84 bool UsbDevicePermissionData::operator==( 84 bool UsbDevicePermissionData::operator==(
85 const UsbDevicePermissionData& rhs) const { 85 const UsbDevicePermissionData& rhs) const {
86 return vendor_id_ == rhs.vendor_id_ && product_id_ == rhs.product_id_; 86 return vendor_id_ == rhs.vendor_id_ && product_id_ == rhs.product_id_;
87 } 87 }
88 88
89 } // namespace extensions 89 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/permissions/socket_permission_data.cc ('k') | chrome/common/web_apps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698