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

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

Issue 61063003: Keep NaCl plugins used in app background pages alive when active. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment for 'active' instance. Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/nacl_host/nacl_browser_delegate_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "components/nacl/browser/nacl_browser_delegate.h" 9 #include "components/nacl/browser/nacl_browser_delegate.h"
10 #include "extensions/browser/info_map.h" 10 #include "extensions/browser/info_map.h"
(...skipping 11 matching lines...) Expand all
22 virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) OVERRIDE; 22 virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) OVERRIDE;
23 virtual bool GetUserDirectory(base::FilePath* user_dir) OVERRIDE; 23 virtual bool GetUserDirectory(base::FilePath* user_dir) OVERRIDE;
24 virtual std::string GetVersionString() const OVERRIDE; 24 virtual std::string GetVersionString() const OVERRIDE;
25 virtual ppapi::host::HostFactory* CreatePpapiHostFactory( 25 virtual ppapi::host::HostFactory* CreatePpapiHostFactory(
26 content::BrowserPpapiHost* ppapi_host) OVERRIDE; 26 content::BrowserPpapiHost* ppapi_host) OVERRIDE;
27 virtual bool MapUrlToLocalFilePath(const GURL& url, 27 virtual bool MapUrlToLocalFilePath(const GURL& url,
28 bool is_blocking, 28 bool is_blocking,
29 base::FilePath* file_path) OVERRIDE; 29 base::FilePath* file_path) OVERRIDE;
30 virtual void SetDebugPatterns(std::string debug_patterns) OVERRIDE; 30 virtual void SetDebugPatterns(std::string debug_patterns) OVERRIDE;
31 virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) OVERRIDE; 31 virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) OVERRIDE;
32 virtual content::BrowserPpapiHost::OnKeepaliveCallback
33 GetOnKeepaliveCallback() OVERRIDE;
32 34
33 private: 35 private:
34 scoped_refptr<extensions::InfoMap> extension_info_map_; 36 scoped_refptr<extensions::InfoMap> extension_info_map_;
35 std::vector<URLPattern> debug_patterns_; 37 std::vector<URLPattern> debug_patterns_;
36 bool inverse_debug_patterns_; 38 bool inverse_debug_patterns_;
37 DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl); 39 DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl);
38 }; 40 };
39 41
40 42
41 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ 43 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/nacl_host/nacl_browser_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698