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/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/json/json_string_value_serializer.h" | 11 #include "base/json/json_string_value_serializer.h" |
12 #include "base/metrics/field_trial.h" | 12 #include "base/metrics/field_trial.h" |
13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
14 #include "chrome/browser/extensions/extension_service.h" | 14 #include "chrome/browser/extensions/extension_service.h" |
15 #include "chrome/browser/search/hotword_service_factory.h" | 15 #include "chrome/browser/search/hotword_service_factory.h" |
16 #include "chrome/common/chrome_paths.h" | 16 #include "chrome/common/chrome_paths.h" |
17 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
18 #include "chrome/common/chrome_version_info.h" | 18 #include "chrome/common/chrome_version_info.h" |
19 #include "chrome/common/extensions/extension_constants.h" | 19 #include "chrome/common/extensions/extension_constants.h" |
20 #include "chrome/grit/generated_resources.h" | 20 #include "chrome/grit/generated_resources.h" |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 off_the_record_context, Extension::GetBaseURLFromExtensionId(id)); | 633 off_the_record_context, Extension::GetBaseURLFromExtensionId(id)); |
634 storage::FileSystemContext* file_system_context = | 634 storage::FileSystemContext* file_system_context = |
635 content::BrowserContext::GetStoragePartitionForSite( | 635 content::BrowserContext::GetStoragePartitionForSite( |
636 off_the_record_context, site)->GetFileSystemContext(); | 636 off_the_record_context, site)->GetFileSystemContext(); |
637 file_system_context->EnableTemporaryFileSystemInIncognito(); | 637 file_system_context->EnableTemporaryFileSystemInIncognito(); |
638 } | 638 } |
639 #endif | 639 #endif |
640 } | 640 } |
641 | 641 |
642 } // namespace extensions | 642 } // namespace extensions |
OLD | NEW |