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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 "gbchcmhmhahfdphkhkmpfmihenigjmpp", // Chrome Remote Desktop | 148 "gbchcmhmhahfdphkhkmpfmihenigjmpp", // Chrome Remote Desktop |
149 "kgngmbheleoaphbjbaiobfdepmghbfah", // Pre-release Chrome Remote Desktop | 149 "kgngmbheleoaphbjbaiobfdepmghbfah", // Pre-release Chrome Remote Desktop |
150 "odkaodonbgfohohmklejpjiejmcipmib", // Dogfood Chrome Remote Desktop | 150 "odkaodonbgfohohmklejpjiejmcipmib", // Dogfood Chrome Remote Desktop |
151 "ojoimpklfciegopdfgeenehpalipignm", // Chromoting canary | 151 "ojoimpklfciegopdfgeenehpalipignm", // Chromoting canary |
152 "cbkkbcmdlboombapidmoeolnmdacpkch", // see crbug.com/129089 | 152 "cbkkbcmdlboombapidmoeolnmdacpkch", // see crbug.com/129089 |
153 "hhnbmknkdabfoieppbbljkhkfjcmcbjh", // see crbug.com/134099 | 153 "hhnbmknkdabfoieppbbljkhkfjcmcbjh", // see crbug.com/134099 |
154 "mablfbjkhmhkmefkjjacnbaikjkipphg", // see crbug.com/134099 | 154 "mablfbjkhmhkmefkjjacnbaikjkipphg", // see crbug.com/134099 |
155 "pdeelgamlgannhelgoegilelnnojegoh", // see crbug.com/134099 | 155 "pdeelgamlgannhelgoegilelnnojegoh", // see crbug.com/134099 |
156 "cabapfdbkniadpollkckdnedaanlciaj", // see crbug.com/134099 | 156 "cabapfdbkniadpollkckdnedaanlciaj", // see crbug.com/134099 |
157 "mapljbgnjledlpdmlchihnmeclmefbba", // see crbug.com/134099 | 157 "mapljbgnjledlpdmlchihnmeclmefbba", // see crbug.com/134099 |
158 "ghbfeebgmiidnnmeobbbaiamklmpbpii" // see crbug.com/134099 | 158 "ghbfeebgmiidnnmeobbbaiamklmpbpii", // see crbug.com/134099 |
| 159 "jdfhpkjeckflbbleddjlpimecpbjdeep" // see crbug.com/142514 |
159 }; | 160 }; |
160 | 161 |
161 // Handles rewriting Web UI URLs. | 162 // Handles rewriting Web UI URLs. |
162 bool HandleWebUI(GURL* url, content::BrowserContext* browser_context) { | 163 bool HandleWebUI(GURL* url, content::BrowserContext* browser_context) { |
163 if (!ChromeWebUIControllerFactory::GetInstance()->UseWebUIForURL( | 164 if (!ChromeWebUIControllerFactory::GetInstance()->UseWebUIForURL( |
164 browser_context, *url)) | 165 browser_context, *url)) |
165 return false; | 166 return false; |
166 | 167 |
167 #if defined(OS_CHROMEOS) | 168 #if defined(OS_CHROMEOS) |
168 // Special case : in ChromeOS in Guest mode bookmarks and history are | 169 // Special case : in ChromeOS in Guest mode bookmarks and history are |
(...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1734 partition_id = extension->id(); | 1735 partition_id = extension->id(); |
1735 } | 1736 } |
1736 | 1737 |
1737 // Enforce that IsValidStoragePartitionId() implementation stays in sync. | 1738 // Enforce that IsValidStoragePartitionId() implementation stays in sync. |
1738 DCHECK(IsValidStoragePartitionId(browser_context, partition_id)); | 1739 DCHECK(IsValidStoragePartitionId(browser_context, partition_id)); |
1739 return partition_id; | 1740 return partition_id; |
1740 } | 1741 } |
1741 | 1742 |
1742 | 1743 |
1743 } // namespace chrome | 1744 } // namespace chrome |
OLD | NEW |