OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "extensions/shell/browser/shell_nacl_browser_delegate.h" | 5 #include "extensions/shell/browser/shell_nacl_browser_delegate.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/strings/string_split.h" | 12 #include "base/strings/string_split.h" |
13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "content/public/browser/browser_context.h" | 14 #include "content/public/browser/browser_context.h" |
15 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
16 #include "content/public/browser/render_frame_host.h" | 16 #include "content/public/browser/render_frame_host.h" |
17 #include "content/public/browser/site_instance.h" | 17 #include "content/public/browser/site_instance.h" |
18 #include "extensions/browser/extension_system.h" | 18 #include "extensions/browser/extension_system.h" |
19 #include "extensions/browser/info_map.h" | 19 #include "extensions/browser/info_map.h" |
20 #include "extensions/browser/process_manager.h" | 20 #include "extensions/browser/process_manager.h" |
21 #include "extensions/common/constants.h" | 21 #include "extensions/common/constants.h" |
22 #include "extensions/common/extension.h" | 22 #include "extensions/common/extension.h" |
23 #include "extensions/common/url_pattern.h" | 23 #include "extensions/common/url_pattern.h" |
24 #include "extensions/shell/common/version.h" // Generated file. | 24 #include "extensions/shell/common/version.h" // Generated file. |
25 #include "ppapi/c/private/ppb_nacl_private.h" | |
26 #include "url/gurl.h" | 25 #include "url/gurl.h" |
27 | 26 |
28 using content::BrowserContext; | 27 using content::BrowserContext; |
29 using content::BrowserThread; | 28 using content::BrowserThread; |
30 using content::BrowserPpapiHost; | 29 using content::BrowserPpapiHost; |
31 | 30 |
32 namespace extensions { | 31 namespace extensions { |
33 namespace { | 32 namespace { |
34 | 33 |
35 // Handles an extension's NaCl process transitioning in or out of idle state by | 34 // Handles an extension's NaCl process transitioning in or out of idle state by |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 return base::Bind(&OnKeepalive); | 186 return base::Bind(&OnKeepalive); |
188 } | 187 } |
189 | 188 |
190 bool ShellNaClBrowserDelegate::IsNonSfiModeAllowed( | 189 bool ShellNaClBrowserDelegate::IsNonSfiModeAllowed( |
191 const base::FilePath& profile_directory, | 190 const base::FilePath& profile_directory, |
192 const GURL& manifest_url) { | 191 const GURL& manifest_url) { |
193 return false; | 192 return false; |
194 } | 193 } |
195 | 194 |
196 } // namespace extensions | 195 } // namespace extensions |
OLD | NEW |