| Index: chrome/browser/safe_browsing/safe_browsing_service.h
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h
|
| index 2fbfbc37b498ae6cdb4a33fc4b23858f43d31255..6254d51d1141b1ebccec4cf9ed27e10fcacd6cad 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_service.h
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_service.h
|
| @@ -17,6 +17,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/observer_list.h"
|
| #include "base/sequenced_task_runner_helpers.h"
|
| +#include "chrome/browser/safe_browsing/delayed_analysis_callback.h"
|
| #include "chrome/browser/safe_browsing/safe_browsing_util.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/notification_observer.h"
|
| @@ -124,6 +125,12 @@ class SafeBrowsingService
|
| scoped_ptr<TrackedPreferenceValidationDelegate>
|
| CreatePreferenceValidationDelegate(Profile* profile) const;
|
|
|
| + // Registers |callback| to be run after some delay following process launch.
|
| + // |callback| will be dropped if the service is not applicable for the
|
| + // process.
|
| + void RegisterDelayedAnalysisCallback(
|
| + const safe_browsing::DelayedAnalysisCallback& callback);
|
| +
|
| protected:
|
| // Creates the safe browsing service. Need to initialize before using.
|
| SafeBrowsingService();
|
|
|