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

Side by Side Diff: extensions/common/features/permission_feature.cc

Issue 278013002: Clean-up coding style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
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/common/features/permission_feature.h" 5 #include "extensions/common/features/permission_feature.h"
6 6
7 #include <string>
Yoyo Zhou 2014/05/12 17:19:46 Same here.
8
7 #include "extensions/common/permissions/permission_set.h" 9 #include "extensions/common/permissions/permission_set.h"
8 #include "extensions/common/permissions/permissions_data.h" 10 #include "extensions/common/permissions/permissions_data.h"
9 11
10 namespace extensions { 12 namespace extensions {
11 13
12 PermissionFeature::PermissionFeature() { 14 PermissionFeature::PermissionFeature() {
13 } 15 }
14 16
15 PermissionFeature::~PermissionFeature() { 17 PermissionFeature::~PermissionFeature() {
16 } 18 }
(...skipping 26 matching lines...) Expand all
43 "value for extension_types."; 45 "value for extension_types.";
44 } 46 }
45 47
46 if (!GetContexts()->empty()) 48 if (!GetContexts()->empty())
47 return name() + ": Permission features do not support contexts."; 49 return name() + ": Permission features do not support contexts.";
48 50
49 return std::string(); 51 return std::string();
50 } 52 }
51 53
52 } // namespace extensions 54 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698