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

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

Issue 15981010: Use a direct include of strings headers in chrome/common/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « chrome/common/extensions/permissions/media_galleries_permission.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "chrome/common/extensions/permissions/media_galleries_permission_data.h " 5 #include "chrome/common/extensions/permissions/media_galleries_permission_data.h "
6 6
7 #include "base/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/common/extensions/permissions/media_galleries_permission.h" 9 #include "chrome/common/extensions/permissions/media_galleries_permission.h"
10 10
11 namespace extensions { 11 namespace extensions {
12 12
13 MediaGalleriesPermissionData::MediaGalleriesPermissionData() { 13 MediaGalleriesPermissionData::MediaGalleriesPermissionData() {
14 } 14 }
15 15
16 bool MediaGalleriesPermissionData::Check( 16 bool MediaGalleriesPermissionData::Check(
17 const APIPermission::CheckParam* param) const { 17 const APIPermission::CheckParam* param) const {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const MediaGalleriesPermissionData& rhs) const { 50 const MediaGalleriesPermissionData& rhs) const {
51 return permission_ < rhs.permission_; 51 return permission_ < rhs.permission_;
52 } 52 }
53 53
54 bool MediaGalleriesPermissionData::operator==( 54 bool MediaGalleriesPermissionData::operator==(
55 const MediaGalleriesPermissionData& rhs) const { 55 const MediaGalleriesPermissionData& rhs) const {
56 return permission_ == rhs.permission_; 56 return permission_ == rhs.permission_;
57 } 57 }
58 58
59 } // namespace extensions 59 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/permissions/media_galleries_permission.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698