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

Unified Diff: chrome/browser/extensions/updater/extension_updater_unittest.cc

Issue 195813007: Remove ExtensionService::IsExternalExtensionUninstalled() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 6 years, 9 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
« no previous file with comments | « chrome/browser/extensions/test_extension_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/updater/extension_updater_unittest.cc
diff --git a/chrome/browser/extensions/updater/extension_updater_unittest.cc b/chrome/browser/extensions/updater/extension_updater_unittest.cc
index f2d3624e0283355c03c0acafb9b13df9db8801e8..6cc7978a11a809650bffc54e1fa14a7bf5e93532 100644
--- a/chrome/browser/extensions/updater/extension_updater_unittest.cc
+++ b/chrome/browser/extensions/updater/extension_updater_unittest.cc
@@ -254,8 +254,7 @@ class NotificationsObserver : public content::NotificationObserver {
class MockService : public TestExtensionService {
public:
explicit MockService(TestExtensionPrefs* prefs)
- : prefs_(prefs), pending_extension_manager_(*this) {
- }
+ : prefs_(prefs), pending_extension_manager_(*this, &profile_) {}
virtual ~MockService() {}
@@ -300,8 +299,8 @@ class MockService : public TestExtensionService {
protected:
TestExtensionPrefs* const prefs_;
- PendingExtensionManager pending_extension_manager_;
TestingProfile profile_;
+ PendingExtensionManager pending_extension_manager_;
private:
DISALLOW_COPY_AND_ASSIGN(MockService);
« no previous file with comments | « chrome/browser/extensions/test_extension_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698