| 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_PROCESS_POLICY_H_ |   5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_PROCESS_POLICY_H_ | 
|   6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_PROCESS_POLICY_H_ |   6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_PROCESS_POLICY_H_ | 
|   7  |   7  | 
|   8 class GURL; |   8 class GURL; | 
|   9  |   9  | 
|  10 namespace extensions { |  10 namespace extensions { | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
|  22 // extension URL). |  22 // extension URL). | 
|  23 // We temporarily consider a workaround where we will keep non-app URLs in |  23 // We temporarily consider a workaround where we will keep non-app URLs in | 
|  24 // an app process, but only if |should_consider_workaround| is true.  See |  24 // an app process, but only if |should_consider_workaround| is true.  See | 
|  25 // http://crbug.com/59285. |  25 // http://crbug.com/59285. | 
|  26 bool CrossesExtensionProcessBoundary( |  26 bool CrossesExtensionProcessBoundary( | 
|  27     const ExtensionSet& extensions, |  27     const ExtensionSet& extensions, | 
|  28     const GURL& old_url, |  28     const GURL& old_url, | 
|  29     const GURL& new_url, |  29     const GURL& new_url, | 
|  30     bool should_consider_workaround); |  30     bool should_consider_workaround); | 
|  31  |  31  | 
|  32 // Check if extensions are running in Site Isolation mode. |  | 
|  33 bool IsIsolateExtensionsEnabled(); |  | 
|  34  |  | 
|  35 }  // namespace extensions |  32 }  // namespace extensions | 
|  36  |  33  | 
|  37 #endif  // CHROME_COMMON_EXTENSIONS_EXTENSION_PROCESS_POLICY_H_ |  34 #endif  // CHROME_COMMON_EXTENSIONS_EXTENSION_PROCESS_POLICY_H_ | 
| OLD | NEW |