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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 2483513002: Revert of Makes the component installers return a Result instead of a bool. (Closed)
Patch Set: Created 4 years, 1 month 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/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index 2e325e68b12a1e1d4c45982af04f45d5af88e276..0f0613c376b30e17845820593834f6429d5e17ff 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -118,7 +118,6 @@
#include "components/strings/grit/components_strings.h"
#include "components/translate/core/browser/language_state.h"
#include "components/translate/core/browser/translate_infobar_delegate.h"
-#include "components/update_client/update_client.h"
#include "components/update_client/update_client_errors.h"
#include "components/update_client/url_request_post_interceptor.h"
#include "components/user_prefs/user_prefs.h"
@@ -3626,9 +3625,8 @@
MOCK_METHOD1(OnUpdateError, void(int error));
MOCK_METHOD2(Install,
- update_client::CrxInstaller::Result(
- const base::DictionaryValue& manifest,
- const base::FilePath& unpack_path));
+ bool(const base::DictionaryValue& manifest,
+ const base::FilePath& unpack_path));
MOCK_METHOD2(GetInstalledFile,
bool(const std::string& file, base::FilePath* installed_file));
MOCK_METHOD0(Uninstall, bool());
« no previous file with comments | « chrome/browser/net/crl_set_fetcher.cc ('k') | components/component_updater/component_updater_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698