OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "apps/app_restore_service.h" | 5 #include "apps/app_restore_service.h" |
6 #include "apps/app_restore_service_factory.h" | 6 #include "apps/app_restore_service_factory.h" |
7 #include "apps/saved_files_service.h" | 7 #include "apps/saved_files_service.h" |
| 8 #include "chrome/browser/chrome_notification_types.h" |
8 #include "chrome/browser/extensions/api/file_system/file_system_api.h" | 9 #include "chrome/browser/extensions/api/file_system/file_system_api.h" |
9 #include "chrome/browser/extensions/extension_prefs.h" | 10 #include "chrome/browser/extensions/extension_prefs.h" |
10 #include "chrome/browser/extensions/extension_test_message_listener.h" | 11 #include "chrome/browser/extensions/extension_test_message_listener.h" |
11 #include "chrome/browser/extensions/platform_app_browsertest_util.h" | 12 #include "chrome/browser/extensions/platform_app_browsertest_util.h" |
12 #include "chrome/common/chrome_notification_types.h" | |
13 #include "chrome/common/extensions/extension.h" | 13 #include "chrome/common/extensions/extension.h" |
14 #include "content/public/browser/notification_service.h" | 14 #include "content/public/browser/notification_service.h" |
15 #include "content/public/test/test_utils.h" | 15 #include "content/public/test/test_utils.h" |
16 | 16 |
17 using extensions::Extension; | 17 using extensions::Extension; |
18 using extensions::ExtensionPrefs; | 18 using extensions::ExtensionPrefs; |
19 using extensions::ExtensionSystem; | 19 using extensions::ExtensionSystem; |
20 using extensions::FileSystemChooseEntryFunction; | 20 using extensions::FileSystemChooseEntryFunction; |
21 | 21 |
22 // TODO(benwells): Move PlatformAppBrowserTest to apps namespace in apps | 22 // TODO(benwells): Move PlatformAppBrowserTest to apps namespace in apps |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 extension->id(), it->id, it->path, it->writable); | 133 extension->id(), it->id, it->path, it->writable); |
134 } | 134 } |
135 | 135 |
136 apps::AppRestoreServiceFactory::GetForProfile(browser()->profile())-> | 136 apps::AppRestoreServiceFactory::GetForProfile(browser()->profile())-> |
137 HandleStartup(true); | 137 HandleStartup(true); |
138 | 138 |
139 access_ok_listener.WaitUntilSatisfied(); | 139 access_ok_listener.WaitUntilSatisfied(); |
140 } | 140 } |
141 | 141 |
142 } // namespace apps | 142 } // namespace apps |
OLD | NEW |