OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
13 | 13 |
14 class Profile; | 14 class Profile; |
15 | 15 |
16 // A helper class to help mimic the timing of installs of synced extensions | 16 // A helper class to help mimic the timing of installs of synced extensions |
17 // from the app store. | 17 // from the app store. |
18 // | 18 // |
19 // Listens for attempts to contact the web store. When it detects such an | 19 // Listens for attempts to contact the web store. When it detects such an |
(...skipping 18 matching lines...) Expand all Loading... |
38 | 38 |
39 Profile* profile_; | 39 Profile* profile_; |
40 content::NotificationRegistrar registrar_; | 40 content::NotificationRegistrar registrar_; |
41 | 41 |
42 base::WeakPtrFactory<SyncedExtensionInstaller> weak_ptr_factory_; | 42 base::WeakPtrFactory<SyncedExtensionInstaller> weak_ptr_factory_; |
43 | 43 |
44 DISALLOW_COPY_AND_ASSIGN(SyncedExtensionInstaller); | 44 DISALLOW_COPY_AND_ASSIGN(SyncedExtensionInstaller); |
45 }; | 45 }; |
46 | 46 |
47 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_H_ | 47 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_EXTENSION_INSTALLER_H_ |
OLD | NEW |