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

Unified Diff: components/quirks/quirks_manager.h

Issue 2006143011: Remove first check random delay on older devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove obsolete TODO Created 4 years, 5 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/quirks/quirks_manager.h
diff --git a/components/quirks/quirks_manager.h b/components/quirks/quirks_manager.h
index 1cfd91cd96164c00e41cb02415103fb77f934a39..68759eba0f4139ba8480117bb22c1bdf51e4fb0b 100644
--- a/components/quirks/quirks_manager.h
+++ b/components/quirks/quirks_manager.h
@@ -57,10 +57,6 @@ class QUIRKS_EXPORT QuirksManager {
using FakeQuirksFetcherCreator = base::Callback<
std::unique_ptr<net::URLFetcher>(const GURL&, net::URLFetcherDelegate*)>;
- // Callback after getting days since OOBE on blocking pool.
- // Parameter is returned number of days.
- using DaysSinceOobeCallback = base::Callback<void(int)>;
-
// Delegate class, so implementation can access browser functionality.
class Delegate {
public:
@@ -80,9 +76,6 @@ class QUIRKS_EXPORT QuirksManager {
// Whether downloads are allowed by enterprise device policy.
virtual bool DevicePolicyEnabled() const = 0;
- // Gets days since first login, returned via callback.
- virtual void GetDaysSinceOobe(DaysSinceOobeCallback callback) const = 0;
-
private:
DISALLOW_ASSIGN(Delegate);
};
@@ -139,16 +132,6 @@ class QUIRKS_EXPORT QuirksManager {
const RequestFinishedCallback& on_request_finished,
base::FilePath path);
- // Callback after checking OOBE date; launch client if appropriate.
- void OnDaysSinceOobeReceived(
- int64_t product_id,
- const RequestFinishedCallback& on_request_finished,
- int days_since_oobe);
-
- // Create and start a client to download file.
- void CreateClient(int64_t product_id,
- const RequestFinishedCallback& on_request_finished);
-
// Whether downloads allowed by cmd line flag and device policy.
bool QuirksEnabled();
« no previous file with comments | « chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc ('k') | components/quirks/quirks_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698