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

Unified Diff: chrome/browser/chromeos/customization_document_unittest.cc

Issue 196663003: Introduce an extension parameter which is used to customize the extension. It's available for exter… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modified test parameters 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 | « no previous file | chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/customization_document_unittest.cc
diff --git a/chrome/browser/chromeos/customization_document_unittest.cc b/chrome/browser/chromeos/customization_document_unittest.cc
index ff71bb2bdc36b2236d4d1fd3962fb3bc685a4247..dbaec655721fe42a49361f92da6bdf19baf0bb6e 100644
--- a/chrome/browser/chromeos/customization_document_unittest.cc
+++ b/chrome/browser/chromeos/customization_document_unittest.cc
@@ -182,8 +182,9 @@ class MockExternalProviderVisitor
extensions::Manifest::Location,
int,
bool));
- MOCK_METHOD5(OnExternalExtensionUpdateUrlFound,
+ MOCK_METHOD6(OnExternalExtensionUpdateUrlFound,
bool(const std::string&,
+ const std::string&,
const GURL&,
extensions::Manifest::Location,
int,
@@ -306,7 +307,7 @@ TEST_F(ServicesCustomizationDocumentTest, EmptyCustomization) {
EXPECT_CALL(visitor, OnExternalExtensionFileFound(_, _, _, _, _, _))
.Times(0);
- EXPECT_CALL(visitor, OnExternalExtensionUpdateUrlFound(_, _, _, _, _))
+ EXPECT_CALL(visitor, OnExternalExtensionUpdateUrlFound(_, _, _, _, _, _))
.Times(0);
EXPECT_CALL(visitor, OnExternalProviderReady(_))
.Times(1);
@@ -344,7 +345,7 @@ TEST_F(ServicesCustomizationDocumentTest, DefaultApps) {
EXPECT_CALL(visitor, OnExternalExtensionFileFound(_, _, _, _, _, _))
.Times(0);
- EXPECT_CALL(visitor, OnExternalExtensionUpdateUrlFound(_, _, _, _, _))
+ EXPECT_CALL(visitor, OnExternalExtensionUpdateUrlFound(_, _, _, _, _, _))
.Times(0);
EXPECT_CALL(visitor, OnExternalProviderReady(_))
.Times(1);
@@ -355,7 +356,7 @@ TEST_F(ServicesCustomizationDocumentTest, DefaultApps) {
EXPECT_CALL(visitor, OnExternalExtensionFileFound(_, _, _, _, _, _))
.Times(0);
- EXPECT_CALL(visitor, OnExternalExtensionUpdateUrlFound(_, _, _, _, _))
+ EXPECT_CALL(visitor, OnExternalExtensionUpdateUrlFound(_, _, _, _, _, _))
.Times(2);
EXPECT_CALL(visitor, OnExternalProviderReady(_))
.Times(1);
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698