| Index: chrome/browser/instant/instant_service.h
|
| diff --git a/chrome/browser/instant/instant_service.h b/chrome/browser/instant/instant_service.h
|
| index 9bf8f5d64851cf2b80807dab6090ba25e92f2824..4e08d89e10c693e60eb5767f4f4fe81f108d4ef1 100644
|
| --- a/chrome/browser/instant/instant_service.h
|
| +++ b/chrome/browser/instant/instant_service.h
|
| @@ -9,15 +9,19 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "chrome/browser/profiles/profile_keyed_service.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
|
|
| +class InstantIOContext;
|
| +class Profile;
|
| +
|
| // Tracks render process host IDs that are associated with Instant.
|
| class InstantService : public ProfileKeyedService,
|
| public content::NotificationObserver {
|
| public:
|
| - InstantService();
|
| + explicit InstantService(Profile* profile);
|
| virtual ~InstantService();
|
|
|
| // Add, remove, and query RenderProcessHost IDs that are associated with
|
| @@ -40,11 +44,15 @@ class InstantService : public ProfileKeyedService,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| + Profile* const profile_;
|
| +
|
| // The process ids associated with Instant processes.
|
| std::set<int> process_ids_;
|
|
|
| content::NotificationRegistrar registrar_;
|
|
|
| + scoped_refptr<InstantIOContext> instant_io_context_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(InstantService);
|
| };
|
|
|
|
|