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

Unified Diff: chrome/browser/extensions/component_loader_unittest.cc

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 years, 8 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
Index: chrome/browser/extensions/component_loader_unittest.cc
diff --git a/chrome/browser/extensions/component_loader_unittest.cc b/chrome/browser/extensions/component_loader_unittest.cc
index 496a6c5fc91d74d314239a539759b4da7534d603..b2c731045e221ba83d290b8c6126eca862a09df0 100644
--- a/chrome/browser/extensions/component_loader_unittest.cc
+++ b/chrome/browser/extensions/component_loader_unittest.cc
@@ -51,7 +51,7 @@ class MockExtensionService : public TestExtensionService {
}
void UnloadExtension(const std::string& extension_id,
- UnloadedExtensionInfo::Reason reason) override {
+ UnloadedExtensionReason reason) override {
ASSERT_TRUE(registry_->enabled_extensions().Contains(extension_id));
// Remove the extension with the matching id.
registry_->RemoveEnabled(extension_id);
@@ -59,7 +59,7 @@ class MockExtensionService : public TestExtensionService {
}
void RemoveComponentExtension(const std::string& extension_id) override {
- UnloadExtension(extension_id, UnloadedExtensionInfo::REASON_DISABLE);
+ UnloadExtension(extension_id, UnloadedExtensionReason::DISABLE);
}
bool is_ready() override { return ready_; }
« no previous file with comments | « chrome/browser/extensions/chrome_theme_url_browsertest.cc ('k') | chrome/browser/extensions/content_verifier_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698