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

Side by Side Diff: components/nacl/common/test_nacl_browser_delegate.cc

Issue 51323004: Move most of TestNaClBrowserDelegate to another file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix rebase Created 7 years, 1 month 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 | « components/nacl/common/test_nacl_browser_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/nacl/common/test_nacl_browser_delegate.h"
6
7 TestNaClBrowserDelegate::TestNaClBrowserDelegate() {}
8
9 TestNaClBrowserDelegate::~TestNaClBrowserDelegate() {}
10
11 void TestNaClBrowserDelegate::ShowNaClInfobar(int render_process_id,
12 int render_view_id,
13 int error_id) {}
14
15 bool TestNaClBrowserDelegate::DialogsAreSuppressed() {
16 return false;
17 }
18
19 bool TestNaClBrowserDelegate::GetCacheDirectory(base::FilePath* cache_dir) {
20 return false;
21 }
22
23 bool TestNaClBrowserDelegate::GetPluginDirectory(base::FilePath* plugin_dir) {
24 return false;
25 }
26
27 bool TestNaClBrowserDelegate::GetPnaclDirectory(base::FilePath* pnacl_dir) {
28 return false;
29 }
30
31 bool TestNaClBrowserDelegate::GetUserDirectory(base::FilePath* user_dir) {
32 return false;
33 }
34
35 std::string TestNaClBrowserDelegate::GetVersionString() const {
36 return std::string();
37 }
38
39 ppapi::host::HostFactory* TestNaClBrowserDelegate::CreatePpapiHostFactory(
40 content::BrowserPpapiHost* ppapi_host) {
41 return NULL;
42 }
43
44 bool TestNaClBrowserDelegate::MapUrlToLocalFilePath(const GURL& url,
45 bool use_blocking_api,
46 base::FilePath* file_path) {
47 return false;
48 }
49
50 void TestNaClBrowserDelegate::SetDebugPatterns(std::string debug_patterns) {}
51
52 bool TestNaClBrowserDelegate::URLMatchesDebugPatterns(
53 const GURL& manifest_url) {
54 return false;
55 }
OLDNEW
« no previous file with comments | « components/nacl/common/test_nacl_browser_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698