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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/common/test_nacl_browser_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/common/test_nacl_browser_delegate.cc
diff --git a/components/nacl/common/test_nacl_browser_delegate.cc b/components/nacl/common/test_nacl_browser_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..46c8ae579b17ccd587309f7041ef7ebabece7980
--- /dev/null
+++ b/components/nacl/common/test_nacl_browser_delegate.cc
@@ -0,0 +1,55 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/nacl/common/test_nacl_browser_delegate.h"
+
+TestNaClBrowserDelegate::TestNaClBrowserDelegate() {}
+
+TestNaClBrowserDelegate::~TestNaClBrowserDelegate() {}
+
+void TestNaClBrowserDelegate::ShowNaClInfobar(int render_process_id,
+ int render_view_id,
+ int error_id) {}
+
+bool TestNaClBrowserDelegate::DialogsAreSuppressed() {
+ return false;
+}
+
+bool TestNaClBrowserDelegate::GetCacheDirectory(base::FilePath* cache_dir) {
+ return false;
+}
+
+bool TestNaClBrowserDelegate::GetPluginDirectory(base::FilePath* plugin_dir) {
+ return false;
+}
+
+bool TestNaClBrowserDelegate::GetPnaclDirectory(base::FilePath* pnacl_dir) {
+ return false;
+}
+
+bool TestNaClBrowserDelegate::GetUserDirectory(base::FilePath* user_dir) {
+ return false;
+}
+
+std::string TestNaClBrowserDelegate::GetVersionString() const {
+ return std::string();
+}
+
+ppapi::host::HostFactory* TestNaClBrowserDelegate::CreatePpapiHostFactory(
+ content::BrowserPpapiHost* ppapi_host) {
+ return NULL;
+}
+
+bool TestNaClBrowserDelegate::MapUrlToLocalFilePath(const GURL& url,
+ bool use_blocking_api,
+ base::FilePath* file_path) {
+ return false;
+}
+
+void TestNaClBrowserDelegate::SetDebugPatterns(std::string debug_patterns) {}
+
+bool TestNaClBrowserDelegate::URLMatchesDebugPatterns(
+ const GURL& manifest_url) {
+ return false;
+}
« 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