OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/component_loader.h" | 5 #include "chrome/browser/extensions/component_loader.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "ui/file_manager/grit/file_manager_resources.h" | 37 #include "ui/file_manager/grit/file_manager_resources.h" |
38 #include "ui/keyboard/keyboard_util.h" | 38 #include "ui/keyboard/keyboard_util.h" |
39 #endif | 39 #endif |
40 | 40 |
41 #if defined(GOOGLE_CHROME_BUILD) | 41 #if defined(GOOGLE_CHROME_BUILD) |
42 #include "chrome/browser/defaults.h" | 42 #include "chrome/browser/defaults.h" |
43 #endif | 43 #endif |
44 | 44 |
45 #if defined(OS_CHROMEOS) | 45 #if defined(OS_CHROMEOS) |
46 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 46 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
47 #include "chrome/browser/chromeos/login/user_manager.h" | 47 #include "chrome/browser/chromeos/login/users/user_manager.h" |
48 #include "chromeos/chromeos_switches.h" | 48 #include "chromeos/chromeos_switches.h" |
49 #include "content/public/browser/site_instance.h" | 49 #include "content/public/browser/site_instance.h" |
50 #include "content/public/browser/storage_partition.h" | 50 #include "content/public/browser/storage_partition.h" |
51 #include "extensions/browser/extensions_browser_client.h" | 51 #include "extensions/browser/extensions_browser_client.h" |
52 #include "webkit/browser/fileapi/file_system_context.h" | 52 #include "webkit/browser/fileapi/file_system_context.h" |
53 #endif | 53 #endif |
54 | 54 |
55 #if defined(ENABLE_APP_LIST) | 55 #if defined(ENABLE_APP_LIST) |
56 #include "grit/chromium_strings.h" | 56 #include "grit/chromium_strings.h" |
57 #endif | 57 #endif |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 off_the_record_context, Extension::GetBaseURLFromExtensionId(id)); | 619 off_the_record_context, Extension::GetBaseURLFromExtensionId(id)); |
620 fileapi::FileSystemContext* file_system_context = | 620 fileapi::FileSystemContext* file_system_context = |
621 content::BrowserContext::GetStoragePartitionForSite( | 621 content::BrowserContext::GetStoragePartitionForSite( |
622 off_the_record_context, site)->GetFileSystemContext(); | 622 off_the_record_context, site)->GetFileSystemContext(); |
623 file_system_context->EnableTemporaryFileSystemInIncognito(); | 623 file_system_context->EnableTemporaryFileSystemInIncognito(); |
624 } | 624 } |
625 #endif | 625 #endif |
626 } | 626 } |
627 | 627 |
628 } // namespace extensions | 628 } // namespace extensions |
OLD | NEW |