| 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 <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 #if defined(GOOGLE_CHROME_BUILD) | 38 #if defined(GOOGLE_CHROME_BUILD) |
| 39 #include "chrome/browser/defaults.h" | 39 #include "chrome/browser/defaults.h" |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 #if defined(OS_CHROMEOS) | 42 #if defined(OS_CHROMEOS) |
| 43 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 43 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 44 #include "chromeos/chromeos_switches.h" | 44 #include "chromeos/chromeos_switches.h" |
| 45 #include "content/public/browser/site_instance.h" | 45 #include "content/public/browser/site_instance.h" |
| 46 #include "content/public/browser/storage_partition.h" | 46 #include "content/public/browser/storage_partition.h" |
| 47 #include "extensions/browser/extensions_browser_client.h" | 47 #include "extensions/browser/extensions_browser_client.h" |
| 48 #include "webkit/browser/fileapi/file_system_context.h" | 48 #include "storage/browser/fileapi/file_system_context.h" |
| 49 #endif | 49 #endif |
| 50 | 50 |
| 51 #if defined(ENABLE_APP_LIST) | 51 #if defined(ENABLE_APP_LIST) |
| 52 #include "chrome/grit/chromium_strings.h" | 52 #include "chrome/grit/chromium_strings.h" |
| 53 #endif | 53 #endif |
| 54 | 54 |
| 55 using content::BrowserThread; | 55 using content::BrowserThread; |
| 56 | 56 |
| 57 namespace extensions { | 57 namespace extensions { |
| 58 | 58 |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 off_the_record_context, Extension::GetBaseURLFromExtensionId(id)); | 642 off_the_record_context, Extension::GetBaseURLFromExtensionId(id)); |
| 643 storage::FileSystemContext* file_system_context = | 643 storage::FileSystemContext* file_system_context = |
| 644 content::BrowserContext::GetStoragePartitionForSite( | 644 content::BrowserContext::GetStoragePartitionForSite( |
| 645 off_the_record_context, site)->GetFileSystemContext(); | 645 off_the_record_context, site)->GetFileSystemContext(); |
| 646 file_system_context->EnableTemporaryFileSystemInIncognito(); | 646 file_system_context->EnableTemporaryFileSystemInIncognito(); |
| 647 } | 647 } |
| 648 #endif | 648 #endif |
| 649 } | 649 } |
| 650 | 650 |
| 651 } // namespace extensions | 651 } // namespace extensions |
| OLD | NEW |