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

Issue 15892012: Identity API: defer loading component app (Closed)

Created:
7 years, 6 months ago by Michael Courage
Modified:
7 years, 6 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Identity API: do not load component app at startup The scope approval component app's background script doesn't need to be running until the Identity API invokes the dialog, so there is no need to start the app when Chrome starts. BUG=244220 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202970

Patch Set 1 #

Total comments: 4

Patch Set 2 : remove loading code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -2 lines) Patch
M chrome/browser/extensions/component_loader.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Michael Courage
This change fixes the memory regression described in crbug.com/244220. It seems a little worrisome to ...
7 years, 6 months ago (2013-05-28 23:19:22 UTC) #1
Matt Perry
https://codereview.chromium.org/15892012/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc File chrome/browser/extensions/api/identity/web_auth_flow.cc (right): https://codereview.chromium.org/15892012/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc#newcode73 chrome/browser/extensions/api/identity/web_auth_flow.cc:73: static bool is_component_loaded = false; This isn't multi-profile safe.
7 years, 6 months ago (2013-05-29 00:39:28 UTC) #2
Michael Courage
https://codereview.chromium.org/15892012/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc File chrome/browser/extensions/api/identity/web_auth_flow.cc (right): https://codereview.chromium.org/15892012/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc#newcode73 chrome/browser/extensions/api/identity/web_auth_flow.cc:73: static bool is_component_loaded = false; On 2013/05/29 00:39:28, Matt ...
7 years, 6 months ago (2013-05-29 00:49:37 UTC) #3
Matt Perry
https://codereview.chromium.org/15892012/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc File chrome/browser/extensions/api/identity/web_auth_flow.cc (right): https://codereview.chromium.org/15892012/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc#newcode73 chrome/browser/extensions/api/identity/web_auth_flow.cc:73: static bool is_component_loaded = false; On 2013/05/29 00:49:37, Michael ...
7 years, 6 months ago (2013-05-29 00:53:38 UTC) #4
Michael Courage
https://codereview.chromium.org/15892012/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc File chrome/browser/extensions/api/identity/web_auth_flow.cc (right): https://codereview.chromium.org/15892012/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc#newcode73 chrome/browser/extensions/api/identity/web_auth_flow.cc:73: static bool is_component_loaded = false; ComponentLoader::Exists will do the ...
7 years, 6 months ago (2013-05-29 01:49:53 UTC) #5
Matt Perry
lgtm
7 years, 6 months ago (2013-05-29 01:55:37 UTC) #6
Matt Perry
oh, update the CL description
7 years, 6 months ago (2013-05-29 01:55:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/courage@chromium.org/15892012/10001
7 years, 6 months ago (2013-05-29 17:47:29 UTC) #8
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 21:11:39 UTC) #9
Message was sent while issue was closed.
Change committed as 202970

Powered by Google App Engine
This is Rietveld 408576698