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 1066993002: Make DeclarativeUserScriptManager non-shared between profiles. (Closed)

Created:
5 years, 8 months ago by Xi Han
Modified:
5 years, 4 months ago
Reviewers:
Fady Samuel, Devlin
CC:
chromium-reviews, darin-cc_chromium.org, jam, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, Fady Samuel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make DeclarativeUserScriptManager non-shared between profiles. DeclarativeUserScriptManager is now a part of ExtensionSystem::Shared and only references the regular profile. However, we want the webview content scripts from WebUI can work with incongnito mode. We make DeclarativeUserScriptManager becomes a KeyedService. Therefore, each profile will have its own DeclarativeUserScriptManager object to manage the master objects created for its profile. BUG=461052

Patch Set 1 : #

Patch Set 2 : Make DeclarativeUserScriptManager be a KeyedService. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -53 lines) Patch
M chrome/browser/extensions/api/declarative_content/content_action.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.h View 4 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.cc View 4 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/extensions/test_extension_system.h View 3 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/extensions/test_extension_system.cc View 3 chunks +0 lines, -8 lines 0 comments Download
M extensions/browser/browser_context_keyed_service_factories.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M extensions/browser/declarative_user_script_manager.h View 1 2 chunks +3 lines, -1 line 0 comments Download
A extensions/browser/declarative_user_script_manager_factory.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A extensions/browser/declarative_user_script_manager_factory.cc View 1 1 chunk +49 lines, -0 lines 0 comments Download
M extensions/browser/extension_system.h View 2 chunks +0 lines, -4 lines 0 comments Download
M extensions/browser/mock_extension_system.h View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/mock_extension_system.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M extensions/extensions.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/shell/browser/shell_extension_system.h View 2 chunks +0 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_extension_system.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Xi Han
Hi Devlin: this is a small refactoring to make webview's content scripts work on WebUI ...
5 years, 8 months ago (2015-04-07 18:13:24 UTC) #3
Xi Han
Hi Delvin, I adopt another way to make DeclarativeUserScriptManager be a KeyedService and introduce DeclarativeUserScriptManagerFactory ...
5 years, 8 months ago (2015-04-09 23:06:41 UTC) #6
Devlin
On 2015/04/09 23:06:41, Xi Han wrote: > Hi Delvin, > I adopt another way to ...
5 years, 8 months ago (2015-04-20 19:55:58 UTC) #7
Xi Han
On 2015/04/20 19:55:58, Devlin wrote: > On 2015/04/09 23:06:41, Xi Han wrote: > > Hi ...
5 years, 8 months ago (2015-04-20 19:58:44 UTC) #8
Devlin
On 2015/04/20 19:58:44, Xi Han wrote: > On 2015/04/20 19:55:58, Devlin wrote: > > On ...
5 years, 8 months ago (2015-04-20 20:03:27 UTC) #9
xiyuan
On 2015/04/20 20:03:27, Devlin wrote: > On 2015/04/20 19:58:44, Xi Han wrote: > > On ...
5 years, 8 months ago (2015-04-20 20:11:31 UTC) #10
Devlin
On 2015/04/20 20:11:31, xiyuan wrote: > On 2015/04/20 20:03:27, Devlin wrote: > > On 2015/04/20 ...
5 years, 8 months ago (2015-04-20 20:15:04 UTC) #11
Fady Samuel
Can we close this issue?
5 years, 4 months ago (2015-08-14 14:57:21 UTC) #13
Xi Han
5 years, 4 months ago (2015-08-14 14:59:46 UTC) #14
Message was sent while issue was closed.
On 2015/08/14 14:57:21, Fady Samuel wrote:
> Can we close this issue?

This patch is abandoned. Close it now.

Powered by Google App Engine
This is Rietveld 408576698