OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "chrome/browser/extensions/extension_assets_manager_chromeos.h" | 5 #include "chrome/browser/extensions/extension_assets_manager_chromeos.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
16 #include "base/prefs/pref_registry_simple.h" | |
17 #include "base/prefs/pref_service.h" | |
18 #include "base/prefs/scoped_user_pref_update.h" | |
19 #include "base/sequenced_task_runner.h" | 16 #include "base/sequenced_task_runner.h" |
20 #include "base/sys_info.h" | 17 #include "base/sys_info.h" |
21 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
22 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 19 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
23 #include "chrome/browser/extensions/extension_service.h" | 20 #include "chrome/browser/extensions/extension_service.h" |
24 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
25 #include "chromeos/chromeos_switches.h" | 22 #include "chromeos/chromeos_switches.h" |
| 23 #include "components/prefs/pref_registry_simple.h" |
| 24 #include "components/prefs/pref_service.h" |
| 25 #include "components/prefs/scoped_user_pref_update.h" |
26 #include "components/user_manager/user_manager.h" | 26 #include "components/user_manager/user_manager.h" |
27 #include "content/public/browser/browser_thread.h" | 27 #include "content/public/browser/browser_thread.h" |
28 #include "extensions/browser/extension_prefs.h" | 28 #include "extensions/browser/extension_prefs.h" |
29 #include "extensions/browser/extension_system.h" | 29 #include "extensions/browser/extension_system.h" |
30 #include "extensions/common/extension.h" | 30 #include "extensions/common/extension.h" |
31 #include "extensions/common/extension_urls.h" | 31 #include "extensions/common/extension_urls.h" |
32 #include "extensions/common/file_util.h" | 32 #include "extensions/common/file_util.h" |
33 #include "extensions/common/manifest.h" | 33 #include "extensions/common/manifest.h" |
34 #include "extensions/common/manifest_url_handlers.h" | 34 #include "extensions/common/manifest_url_handlers.h" |
35 | 35 |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 std::make_pair(id, base::FilePath(shared_path))); | 571 std::make_pair(id, base::FilePath(shared_path))); |
572 } else { | 572 } else { |
573 extension_info->RemoveWithoutPathExpansion(*it, NULL); | 573 extension_info->RemoveWithoutPathExpansion(*it, NULL); |
574 } | 574 } |
575 } | 575 } |
576 | 576 |
577 return true; | 577 return true; |
578 } | 578 } |
579 | 579 |
580 } // namespace extensions | 580 } // namespace extensions |
OLD | NEW |