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

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: 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
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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 old_name(old_name) {} 778 old_name(old_name) {}
779 779
780 UnloadedExtensionInfo::UnloadedExtensionInfo( 780 UnloadedExtensionInfo::UnloadedExtensionInfo(
781 const Extension* extension, 781 const Extension* extension,
782 UnloadedExtensionInfo::Reason reason) 782 UnloadedExtensionInfo::Reason reason)
783 : reason(reason), 783 : reason(reason),
784 extension(extension) {} 784 extension(extension) {}
785 785
786 UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo( 786 UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo(
787 const Extension* extension, 787 const Extension* extension,
788 const PermissionSet* permissions, 788 const PermissionSet& permissions,
789 Reason reason) 789 Reason reason)
790 : reason(reason), 790 : reason(reason), extension(extension), permissions(permissions) {}
791 extension(extension),
792 permissions(permissions) {}
793 791
794 } // namespace extensions 792 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698