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

Unified Diff: ppapi/native_client/src/trusted/plugin/plugin.cc

Issue 560073002: Remove Plugin::DocumentCanRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/plugin.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/trusted/plugin/plugin.cc
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.cc b/ppapi/native_client/src/trusted/plugin/plugin.cc
index e7b256861fad55d8e6204094645bab4229a3298f..f2ba09256668f7896bc0c9a21a8347c4273bcd4f 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.cc
+++ b/ppapi/native_client/src/trusted/plugin/plugin.cc
@@ -24,7 +24,6 @@
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/private/ppb_nacl_private.h"
-#include "ppapi/cpp/dev/url_util_dev.h"
#include "ppapi/cpp/module.h"
#include "ppapi/native_client/src/trusted/plugin/nacl_subprocess.h"
@@ -276,7 +275,6 @@ Plugin::Plugin(PP_Instance pp_instance)
nexe_file_info_ = kInvalidNaClFileInfo;
}
-
Plugin::~Plugin() {
int64_t shutdown_start = NaClGetTimeOfDayMicroseconds();
@@ -433,10 +431,4 @@ void Plugin::ReportLoadError(const ErrorInfo& error_info) {
error_info.message().c_str());
}
-bool Plugin::DocumentCanRequest(const std::string& url) {
- CHECK(pp::Module::Get()->core()->IsMainThread());
- CHECK(pp::URLUtil_Dev::Get() != NULL);
- return pp::URLUtil_Dev::Get()->DocumentCanRequest(this, pp::Var(url));
-}
-
} // namespace plugin
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/plugin.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698