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

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

Issue 19863003: PNaCl on-demand installs: Make a separate async IPC to check if PNaCl is installed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: const ref Created 7 years, 5 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 | Annotate | Revision Log
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/common/nacl_browser_delegate.h" 9 #include "components/nacl/common/nacl_browser_delegate.h"
10 10
11 class NaClBrowserDelegateImpl : public NaClBrowserDelegate { 11 class NaClBrowserDelegateImpl : public NaClBrowserDelegate {
12 public: 12 public:
13 NaClBrowserDelegateImpl() {} 13 NaClBrowserDelegateImpl() {}
14 virtual ~NaClBrowserDelegateImpl() {} 14 virtual ~NaClBrowserDelegateImpl() {}
15 15
16 virtual void ShowNaClInfobar(int render_process_id, int render_view_id, 16 virtual void ShowNaClInfobar(int render_process_id, int render_view_id,
17 int error_id) OVERRIDE; 17 int error_id) OVERRIDE;
18 virtual bool DialogsAreSuppressed() OVERRIDE; 18 virtual bool DialogsAreSuppressed() OVERRIDE;
19 virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE; 19 virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE;
20 virtual bool GetPluginDirectory(base::FilePath* plugin_dir) OVERRIDE; 20 virtual bool GetPluginDirectory(base::FilePath* plugin_dir) OVERRIDE;
21 virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) OVERRIDE; 21 virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) OVERRIDE;
22 virtual bool GetUserDirectory(base::FilePath* user_dir) OVERRIDE; 22 virtual bool GetUserDirectory(base::FilePath* user_dir) OVERRIDE;
23 virtual std::string GetVersionString() const OVERRIDE; 23 virtual std::string GetVersionString() const OVERRIDE;
24 virtual ppapi::host::HostFactory* CreatePpapiHostFactory( 24 virtual ppapi::host::HostFactory* CreatePpapiHostFactory(
25 content::BrowserPpapiHost* ppapi_host) OVERRIDE; 25 content::BrowserPpapiHost* ppapi_host) OVERRIDE;
26 virtual void TryInstallPnacl(
27 const base::Callback<void(bool)>& installed) OVERRIDE;
26 }; 28 };
27 29
28 30
29 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ 31 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698