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

Unified Diff: components/component_updater/component_updater_service.h

Issue 2104513003: Implement a test for DefaultComponentInstallerTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 6 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: components/component_updater/component_updater_service.h
diff --git a/components/component_updater/component_updater_service.h b/components/component_updater/component_updater_service.h
index 27daa9ec288cf222830fe510769c0ae57883e81f..7abf4d6bc955908e802777df0a2874d5e9863a19 100644
--- a/components/component_updater/component_updater_service.h
+++ b/components/component_updater/component_updater_service.h
@@ -12,6 +12,7 @@
#include <vector>
#include "base/callback_forward.h"
+#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
#include "base/version.h"
#include "components/update_client/update_client.h"
@@ -126,6 +127,7 @@ class ComponentUpdateService {
CrxUpdateItem* item) const = 0;
friend class ::ComponentsUI;
+ FRIEND_TEST_ALL_PREFIXES(DefaultComponentInstallerTest, RegisterComponent);
};
using ServiceObserver = ComponentUpdateService::Observer;
« no previous file with comments | « components/component_updater/BUILD.gn ('k') | components/component_updater/default_component_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698