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

Issue 10696210: Making ExtensionService less dependent on Browser. (Closed)

Created:
8 years, 5 months ago by Jay Civelli
Modified:
8 years, 5 months ago
Reviewers:
Yoyo Zhou, nilesh
CC:
chromium-reviews
Visibility:
Public.

Description

Making ExtensionService less dependent on Browser. As part of the effort to get unit-tests linking on Android, making ExtensionService depend less on Browser. More specifically abstracting the use of the GlobalError class through a new ExtensionErrorUI class so that ExtensionService does not need direct access to Browser. BUG=None TEST=Unit-tests should still pass. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=146870

Patch Set 1 #

Patch Set 2 : Fixed clang build. #

Total comments: 2

Patch Set 3 : Update based on discussion with Yoyo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -308 lines) Patch
A + chrome/browser/extensions/extension_error_ui.h View 4 chunks +34 lines, -21 lines 0 comments Download
A + chrome/browser/extensions/extension_error_ui.cc View 6 chunks +19 lines, -45 lines 0 comments Download
A chrome/browser/extensions/extension_error_ui_android.h View 1 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_error_ui_android.cc View 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_error_ui_default.h View 1 2 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_error_ui_default.cc View 1 2 1 chunk +110 lines, -0 lines 0 comments Download
D chrome/browser/extensions/extension_global_error.h View 1 chunk +0 lines, -77 lines 0 comments Download
D chrome/browser/extensions/extension_global_error.cc View 1 chunk +0 lines, -124 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 4 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 7 chunks +16 lines, -24 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 chunks +6 lines, -8 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 4 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Jay Civelli
8 years, 5 months ago (2012-07-12 22:06:43 UTC) #1
Yoyo Zhou
https://chromiumcodereview.appspot.com/10696210/diff/2003/chrome/browser/extensions/extension_error_ui_default.cc File chrome/browser/extensions/extension_error_ui_default.cc (right): https://chromiumcodereview.appspot.com/10696210/diff/2003/chrome/browser/extensions/extension_error_ui_default.cc#newcode30 chrome/browser/extensions/extension_error_ui_default.cc:30: global_error_->ShowBubbleView(browser); It certainly seems like browser_ should be able ...
8 years, 5 months ago (2012-07-13 20:08:47 UTC) #2
Jay Civelli
https://chromiumcodereview.appspot.com/10696210/diff/2003/chrome/browser/extensions/extension_error_ui_default.cc File chrome/browser/extensions/extension_error_ui_default.cc (right): https://chromiumcodereview.appspot.com/10696210/diff/2003/chrome/browser/extensions/extension_error_ui_default.cc#newcode30 chrome/browser/extensions/extension_error_ui_default.cc:30: global_error_->ShowBubbleView(browser); On 2012/07/13 20:08:47, Yoyo Zhou wrote: > It ...
8 years, 5 months ago (2012-07-16 17:54:29 UTC) #3
Yoyo Zhou
8 years, 5 months ago (2012-07-16 18:50:29 UTC) #4
LGTM, thanks for doing this.

Powered by Google App Engine
This is Rietveld 408576698