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

Side by Side Diff: components/nacl/browser/test_nacl_browser_delegate.h

Issue 277463003: Use a proper profile in NaClBrowserDelegateImpl::MapUrlToLocalFilePath (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git cl format Created 6 years, 7 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 COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_ 5 #ifndef COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_
6 #define COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_ 6 #define COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "components/nacl/browser/nacl_browser_delegate.h" 10 #include "components/nacl/browser/nacl_browser_delegate.h"
(...skipping 16 matching lines...) Expand all
27 virtual bool DialogsAreSuppressed() OVERRIDE; 27 virtual bool DialogsAreSuppressed() OVERRIDE;
28 virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE; 28 virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE;
29 virtual bool GetPluginDirectory(base::FilePath* plugin_dir) OVERRIDE; 29 virtual bool GetPluginDirectory(base::FilePath* plugin_dir) OVERRIDE;
30 virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) OVERRIDE; 30 virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) OVERRIDE;
31 virtual bool GetUserDirectory(base::FilePath* user_dir) OVERRIDE; 31 virtual bool GetUserDirectory(base::FilePath* user_dir) OVERRIDE;
32 virtual std::string GetVersionString() const OVERRIDE; 32 virtual std::string GetVersionString() const OVERRIDE;
33 virtual ppapi::host::HostFactory* CreatePpapiHostFactory( 33 virtual ppapi::host::HostFactory* CreatePpapiHostFactory(
34 content::BrowserPpapiHost* ppapi_host) OVERRIDE; 34 content::BrowserPpapiHost* ppapi_host) OVERRIDE;
35 virtual bool MapUrlToLocalFilePath(const GURL& url, 35 virtual bool MapUrlToLocalFilePath(const GURL& url,
36 bool use_blocking_api, 36 bool use_blocking_api,
37 const base::FilePath& profile_directory,
37 base::FilePath* file_path) OVERRIDE; 38 base::FilePath* file_path) OVERRIDE;
38 virtual void SetDebugPatterns(std::string debug_patterns) OVERRIDE; 39 virtual void SetDebugPatterns(std::string debug_patterns) OVERRIDE;
39 virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) OVERRIDE; 40 virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) OVERRIDE;
40 virtual content::BrowserPpapiHost::OnKeepaliveCallback 41 virtual content::BrowserPpapiHost::OnKeepaliveCallback
41 GetOnKeepaliveCallback() OVERRIDE; 42 GetOnKeepaliveCallback() OVERRIDE;
42 43
43 private: 44 private:
44 DISALLOW_COPY_AND_ASSIGN(TestNaClBrowserDelegate); 45 DISALLOW_COPY_AND_ASSIGN(TestNaClBrowserDelegate);
45 }; 46 };
46 47
47 #endif // COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_ 48 #endif // COMPONENTS_NACL_BROWSER_TEST_NACL_BROWSER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/nacl/browser/nacl_host_message_filter.cc ('k') | components/nacl/browser/test_nacl_browser_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698