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

Unified Diff: chrome/browser/extensions/api/identity/identity_api.cc

Issue 12091115: Allow manifest handlers to declare keys they depend on that must be parsed before them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dcronin Created 7 years, 10 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: chrome/browser/extensions/api/identity/identity_api.cc
diff --git a/chrome/browser/extensions/api/identity/identity_api.cc b/chrome/browser/extensions/api/identity/identity_api.cc
index dd1f8980fc4c7aace339ecdce7bc55f87a0302f0..0766bdced8744209d79b7802d037ea0a99ad26e8 100644
--- a/chrome/browser/extensions/api/identity/identity_api.cc
+++ b/chrome/browser/extensions/api/identity/identity_api.cc
@@ -257,7 +257,7 @@ void IdentityLaunchWebAuthFlowFunction::OnAuthFlowFailure() {
IdentityAPI::IdentityAPI(Profile* profile) {
ManifestHandler::Register(extension_manifest_keys::kOAuth2,
- new OAuth2ManifestHandler);
+ make_linked_ptr(new OAuth2ManifestHandler));
}
IdentityAPI::~IdentityAPI() {
« no previous file with comments | « chrome/browser/extensions/api/i18n/i18n_api.cc ('k') | chrome/browser/extensions/api/identity/identity_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698