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

Side by Side Diff: extensions/common/extension.cc

Issue 1349613003: [Extensions] Un-refcount PermissionSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
« no previous file with comments | « extensions/common/extension.h ('k') | extensions/common/extension_messages.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 (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 "extensions/common/extension.h" 5 #include "extensions/common/extension.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 old_name(old_name) {} 774 old_name(old_name) {}
775 775
776 UnloadedExtensionInfo::UnloadedExtensionInfo( 776 UnloadedExtensionInfo::UnloadedExtensionInfo(
777 const Extension* extension, 777 const Extension* extension,
778 UnloadedExtensionInfo::Reason reason) 778 UnloadedExtensionInfo::Reason reason)
779 : reason(reason), 779 : reason(reason),
780 extension(extension) {} 780 extension(extension) {}
781 781
782 UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo( 782 UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo(
783 const Extension* extension, 783 const Extension* extension,
784 const PermissionSet* permissions, 784 const PermissionSet& permissions,
785 Reason reason) 785 Reason reason)
786 : reason(reason), 786 : reason(reason), extension(extension), permissions(permissions) {}
787 extension(extension),
788 permissions(permissions) {}
789 787
790 } // namespace extensions 788 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/extension.h ('k') | extensions/common/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698