| 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();
|
|
|
|
|