| 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/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 switches::kPlaybackMode, | 915 switches::kPlaybackMode, |
| 916 switches::kPpapiFlashArgs, | 916 switches::kPpapiFlashArgs, |
| 917 switches::kPpapiFlashInProcess, | 917 switches::kPpapiFlashInProcess, |
| 918 switches::kPpapiFlashPath, | 918 switches::kPpapiFlashPath, |
| 919 switches::kPpapiFlashVersion, | 919 switches::kPpapiFlashVersion, |
| 920 switches::kProfilingAtStart, | 920 switches::kProfilingAtStart, |
| 921 switches::kProfilingFile, | 921 switches::kProfilingFile, |
| 922 switches::kProfilingFlush, | 922 switches::kProfilingFlush, |
| 923 switches::kRecordMode, | 923 switches::kRecordMode, |
| 924 switches::kSilentDumpOnDCHECK, | 924 switches::kSilentDumpOnDCHECK, |
| 925 switches::kSpdyProxyOrigin, |
| 925 switches::kWhitelistedExtensionID, | 926 switches::kWhitelistedExtensionID, |
| 926 }; | 927 }; |
| 927 | 928 |
| 928 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, | 929 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, |
| 929 arraysize(kSwitchNames)); | 930 arraysize(kSwitchNames)); |
| 930 } else if (process_type == switches::kUtilityProcess) { | 931 } else if (process_type == switches::kUtilityProcess) { |
| 931 static const char* const kSwitchNames[] = { | 932 static const char* const kSwitchNames[] = { |
| 932 switches::kAllowHTTPBackgroundPage, | 933 switches::kAllowHTTPBackgroundPage, |
| 933 switches::kEnableExperimentalExtensionApis, | 934 switches::kEnableExperimentalExtensionApis, |
| 934 switches::kWhitelistedExtensionID, | 935 switches::kWhitelistedExtensionID, |
| (...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1798 partition_id = extension->id(); | 1799 partition_id = extension->id(); |
| 1799 } | 1800 } |
| 1800 | 1801 |
| 1801 // Enforce that IsValidStoragePartitionId() implementation stays in sync. | 1802 // Enforce that IsValidStoragePartitionId() implementation stays in sync. |
| 1802 DCHECK(IsValidStoragePartitionId(browser_context, partition_id)); | 1803 DCHECK(IsValidStoragePartitionId(browser_context, partition_id)); |
| 1803 return partition_id; | 1804 return partition_id; |
| 1804 } | 1805 } |
| 1805 | 1806 |
| 1806 | 1807 |
| 1807 } // namespace chrome | 1808 } // namespace chrome |
| OLD | NEW |