Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(842)

Side by Side Diff: chrome/browser/nacl_host/nacl_browser_delegate_impl.h

Issue 2762513002: Remove keep-alive impulse IPCs from NaCl modules. (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_
6 #define CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ 6 #define CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 27 matching lines...) Expand all
38 bool GetUserDirectory(base::FilePath* user_dir) override; 38 bool GetUserDirectory(base::FilePath* user_dir) override;
39 std::string GetVersionString() const override; 39 std::string GetVersionString() const override;
40 ppapi::host::HostFactory* CreatePpapiHostFactory( 40 ppapi::host::HostFactory* CreatePpapiHostFactory(
41 content::BrowserPpapiHost* ppapi_host) override; 41 content::BrowserPpapiHost* ppapi_host) override;
42 bool MapUrlToLocalFilePath(const GURL& url, 42 bool MapUrlToLocalFilePath(const GURL& url,
43 bool is_blocking, 43 bool is_blocking,
44 const base::FilePath& profile_directory, 44 const base::FilePath& profile_directory,
45 base::FilePath* file_path) override; 45 base::FilePath* file_path) override;
46 void SetDebugPatterns(const std::string& debug_patterns) override; 46 void SetDebugPatterns(const std::string& debug_patterns) override;
47 bool URLMatchesDebugPatterns(const GURL& manifest_url) override; 47 bool URLMatchesDebugPatterns(const GURL& manifest_url) override;
48 content::BrowserPpapiHost::OnKeepaliveCallback GetOnKeepaliveCallback()
49 override;
50 bool IsNonSfiModeAllowed(const base::FilePath& profile_directory, 48 bool IsNonSfiModeAllowed(const base::FilePath& profile_directory,
51 const GURL& manifest_url) override; 49 const GURL& manifest_url) override;
52 50
53 private: 51 private:
54 #if BUILDFLAG(ENABLE_EXTENSIONS) 52 #if BUILDFLAG(ENABLE_EXTENSIONS)
55 scoped_refptr<extensions::InfoMap> GetExtensionInfoMap( 53 scoped_refptr<extensions::InfoMap> GetExtensionInfoMap(
56 const base::FilePath& profile_directory); 54 const base::FilePath& profile_directory);
57 std::vector<URLPattern> debug_patterns_; 55 std::vector<URLPattern> debug_patterns_;
58 #endif 56 #endif
59 57
60 ProfileManager* profile_manager_; 58 ProfileManager* profile_manager_;
61 bool inverse_debug_patterns_; 59 bool inverse_debug_patterns_;
62 std::set<std::string> allowed_nonsfi_origins_; 60 std::set<std::string> allowed_nonsfi_origins_;
63 DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl); 61 DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl);
64 }; 62 };
65 63
66 64
67 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ 65 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/lazy_background_page_apitest.cc ('k') | chrome/browser/nacl_host/nacl_browser_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698