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

Unified Diff: extensions/common/manifest_handler.h

Issue 408493002: Make Clone, Contains, Equal and IPC function non-virtual and implement in manifest_permission.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src@warnings
Patch Set: Remove DCHECK Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: extensions/common/manifest_handler.h
diff --git a/extensions/common/manifest_handler.h b/extensions/common/manifest_handler.h
index 4c7da31eee09a035f3ce3e3bd45177d64a426780..08792d43459ca98a1c2ddfb7ca52806474ddc354 100644
--- a/extensions/common/manifest_handler.h
+++ b/extensions/common/manifest_handler.h
@@ -123,6 +123,7 @@ class ManifestHandlerRegistry {
private:
friend class ManifestHandler;
friend class ScopedTestingManifestHandlerRegistry;
+ friend class MockManifestHandlerRegistry;
friend struct base::DefaultLazyInstanceTraits<ManifestHandlerRegistry>;
ManifestHandlerRegistry();
@@ -137,7 +138,7 @@ class ManifestHandlerRegistry {
std::string* error,
std::vector<InstallWarning>* warnings);
- ManifestPermission* CreatePermission(const std::string& key);
+ virtual ManifestPermission* CreatePermission(const std::string& key);
not at google - send to devlin 2014/07/18 22:02:18 see comment in manifest_permission.cc. it's a sham
aboxhall 2014/07/18 22:38:16 Acknowledged.
void AddExtensionInitialRequiredPermissions(
const Extension* extension,

Powered by Google App Engine
This is Rietveld 408576698