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

Side by Side Diff: chrome/common/extensions/extension.h

Issue 12033021: Add UMA metrics and histograms for locally managed users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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) 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 base::DictionaryValue* GetThemeDisplayProperties() const { 740 base::DictionaryValue* GetThemeDisplayProperties() const {
741 return theme_display_properties_.get(); 741 return theme_display_properties_.get();
742 } 742 }
743 743
744 // Content Security Policy! 744 // Content Security Policy!
745 const std::string& content_security_policy() const { 745 const std::string& content_security_policy() const {
746 return content_security_policy_; 746 return content_security_policy_;
747 } 747 }
748 748
749 // Content pack related. 749 // Content pack related.
750 bool is_content_pack() const;
750 ExtensionResource GetContentPackSiteList() const; 751 ExtensionResource GetContentPackSiteList() const;
751 752
752 GURL GetBackgroundURL() const; 753 GURL GetBackgroundURL() const;
753 754
754 private: 755 private:
755 friend class base::RefCountedThreadSafe<Extension>; 756 friend class base::RefCountedThreadSafe<Extension>;
756 757
757 // We keep a cache of images loaded from extension resources based on their 758 // We keep a cache of images loaded from extension resources based on their
758 // path and a string representation of a size that may have been used to 759 // path and a string representation of a size that may have been used to
759 // scale it (or the empty string if the image is at its original size). 760 // scale it (or the empty string if the image is at its original size).
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 1215
1215 UpdatedExtensionPermissionsInfo( 1216 UpdatedExtensionPermissionsInfo(
1216 const Extension* extension, 1217 const Extension* extension,
1217 const PermissionSet* permissions, 1218 const PermissionSet* permissions,
1218 Reason reason); 1219 Reason reason);
1219 }; 1220 };
1220 1221
1221 } // namespace extensions 1222 } // namespace extensions
1222 1223
1223 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 1224 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/managed_user_settings_handler.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698