Remove obsolete CheckForUpdate/check_for_update D-Bus method.
BUG=5402
TEST=unit tests, gmerged on device and tried updates, emerged libcros.
Change-Id: I94ac031a33e6ca586a67974235496d245ded04bd
Review URL: http://codereview.chromium.org/3179014
diff --git a/UpdateEngine.conf b/UpdateEngine.conf
index 94aa5a5..2149798 100644
--- a/UpdateEngine.conf
+++ b/UpdateEngine.conf
@@ -18,9 +18,6 @@
send_member="AttemptUpdate"/>
<allow send_destination="org.chromium.UpdateEngine"
send_interface="org.chromium.UpdateEngineInterface"
- send_member="CheckForUpdate"/>
- <allow send_destination="org.chromium.UpdateEngine"
- send_interface="org.chromium.UpdateEngineInterface"
send_member="GetStatus"/>
<allow send_destination="org.chromium.UpdateEngine"
send_interface="org.chromium.UpdateEngineInterface"
diff --git a/dbus_service.cc b/dbus_service.cc
index 4a05160..d5bf13f 100644
--- a/dbus_service.cc
+++ b/dbus_service.cc
@@ -59,12 +59,6 @@
return TRUE;
}
-gboolean update_engine_service_check_for_update(UpdateEngineService* self,
- GError **error) {
- self->update_attempter_->CheckForUpdate("", "");
- return TRUE;
-}
-
gboolean update_engine_service_get_status(UpdateEngineService* self,
int64_t* last_checked_time,
double* progress,
diff --git a/dbus_service.h b/dbus_service.h
index 12c9ed1..8c92995 100644
--- a/dbus_service.h
+++ b/dbus_service.h
@@ -51,9 +51,6 @@
gchar* omaha_url,
GError **error);
-gboolean update_engine_service_check_for_update(UpdateEngineService* self,
- GError **error);
-
gboolean update_engine_service_get_status(UpdateEngineService* self,
int64_t* last_checked_time,
double* progress,
diff --git a/update_engine.xml b/update_engine.xml
index 5f20751..88e6871 100644
--- a/update_engine.xml
+++ b/update_engine.xml
@@ -11,8 +11,6 @@
<arg type="s" name="app_version" />
<arg type="s" name="omaha_url" />
</method>
- <method name="CheckForUpdate">
- </method>
<method name="GetStatus">
<arg type="x" name="last_checked_time" direction="out" />
<arg type="d" name="progress" direction="out" />