| Index: chrome/browser/autocomplete/network_action_predictor.h
|
| diff --git a/chrome/browser/autocomplete/network_action_predictor.h b/chrome/browser/autocomplete/network_action_predictor.h
|
| index 20b570815752a92fe6ceffdeb6d59db08cb3a124..cbab0392762f54a69862dae03c54a77ddaae345a 100644
|
| --- a/chrome/browser/autocomplete/network_action_predictor.h
|
| +++ b/chrome/browser/autocomplete/network_action_predictor.h
|
| @@ -13,6 +13,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/string16.h"
|
| #include "chrome/browser/autocomplete/network_action_predictor_database.h"
|
| +#include "chrome/browser/profiles/profile_keyed_service.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -36,7 +37,8 @@ class URLDatabase;
|
| // use PostTaskAndReply without fear of crashes if it is destroyed before the
|
| // reply triggers. This is necessary during initialization.
|
| class NetworkActionPredictor
|
| - : public content::NotificationObserver,
|
| + : public ProfileKeyedService,
|
| + public content::NotificationObserver,
|
| public base::SupportsWeakPtr<NetworkActionPredictor> {
|
| public:
|
| enum Action {
|
| @@ -112,6 +114,9 @@ class NetworkActionPredictor
|
|
|
| static const int kMaximumDaysToKeepEntry;
|
|
|
| + // ProfileKeyedService
|
| + virtual void Shutdown() OVERRIDE;
|
| +
|
| // NotificationObserver
|
| virtual void Observe(int type,
|
| const content::NotificationSource& source,
|
|
|