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

Issue 567037: Initial work on making extensions work in incognito mode. (Closed)

Created:
10 years, 10 months ago by Matt Perry
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Initial work on making extensions work in incognito mode. This merely adds a way to enable content scripts and browser actions in incognito windows. They still don't work properly because none of the APIs work with incognito tabs. The way to enable an extension is to add an "incognito" bit in the user prefs file. My plan is to add UI for this later. BUG=32365 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=38852

Patch Set 1 #

Patch Set 2 : added tests and other platforms #

Total comments: 14

Patch Set 3 : review feedback #

Patch Set 4 : added experimental requirement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -103 lines) Patch
M chrome/browser/cocoa/extensions/browser_actions_controller.mm View 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/browser_action_apitest.cc View 2 3 2 chunks +108 lines, -0 lines 0 comments Download
M chrome/browser/extensions/browser_action_test_util_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_toolbar_model.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_toolbar_model.cc View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extensions_service.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/incognito_noscript_apitest.cc View 2 3 2 chunks +40 lines, -15 lines 0 comments Download
M chrome/browser/extensions/user_script_master.h View 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/user_script_master.cc View 1 2 3 3 chunks +15 lines, -5 lines 0 comments Download
M chrome/browser/gtk/browser_actions_toolbar_gtk.h View 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/gtk/browser_actions_toolbar_gtk.cc View 2 3 4 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/net/chrome_url_request_context.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.cc View 2 chunks +0 lines, -36 lines 0 comments Download
M chrome/browser/profile.cc View 1 2 5 chunks +7 lines, -14 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/views/browser_actions_container.h View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/views/browser_actions_container.cc View 1 2 3 6 chunks +26 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/extensions/user_script.h View 1 3 chunks +7 lines, -1 line 0 comments Download
M chrome/common/extensions/user_script.cc View 2 chunks +3 lines, -12 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/render_thread.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/render_thread.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/user_script_slave.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/renderer/user_script_slave.cc View 2 chunks +9 lines, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/browser_action/add_popup/manifest.json View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/browser_action/basics/manifest.json View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/browser_action/popup/manifest.json View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/incognito_no_script/manifest.json View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Matt Perry
10 years, 10 months ago (2010-02-09 00:50:15 UTC) #1
Erik does not do reviews
a few general comments: - it seems like an extension moving from non-incognito to this ...
10 years, 10 months ago (2010-02-09 19:28:35 UTC) #2
Matt Perry
New snapshot up. Re your general comments, I agree. Right now, this is a somewhat ...
10 years, 10 months ago (2010-02-10 22:44:54 UTC) #3
Erik does not do reviews
10 years, 10 months ago (2010-02-11 01:35:40 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698