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

Unified Diff: chrome/renderer/render_thread.h

Issue 6250176: Make RenderView not have to know about how PhishingClassifierDelegate. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | « no previous file | chrome/renderer/render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.h
===================================================================
--- chrome/renderer/render_thread.h (revision 73993)
+++ chrome/renderer/render_thread.h (working copy)
@@ -51,7 +51,6 @@
namespace base {
class MessageLoopProxy;
-template<class T> class ScopedCallbackFactory;
class Thread;
}
@@ -59,10 +58,6 @@
struct ChannelHandle;
}
-namespace safe_browsing {
-class Scorer;
-}
-
namespace WebKit {
class WebStorageEventDispatcher;
}
@@ -201,12 +196,6 @@
return spellchecker_.get();
}
- // Returns the phishing Scorer object, or NULL if a model has not been passed
- // in from the browser yet.
- const safe_browsing::Scorer* phishing_scorer() const {
- return phishing_scorer_.get();
- }
-
bool plugin_refresh_allowed() const { return plugin_refresh_allowed_; }
// Do DNS prefetch resolution of a hostname.
@@ -346,12 +335,8 @@
// it is allowed to run on.
void RegisterExtension(v8::Extension* extension, bool restrict_to_extensions);
- // Callback to be run once the phishing Scorer has been created.
- void PhishingScorerCreated(safe_browsing::Scorer* scorer);
-
// These objects live solely on the render thread.
scoped_ptr<ScopedRunnableMethodFactory<RenderThread> > task_factory_;
- scoped_ptr<base::ScopedCallbackFactory<RenderThread> > callback_factory_;
scoped_ptr<VisitedLinkSlave> visited_link_slave_;
scoped_ptr<UserScriptSlave> user_script_slave_;
scoped_ptr<RendererNetPredictor> renderer_net_predictor_;
@@ -363,7 +348,6 @@
scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_;
scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
scoped_ptr<SpellCheck> spellchecker_;
- scoped_ptr<const safe_browsing::Scorer> phishing_scorer_;
// Used on the renderer and IPC threads.
scoped_refptr<DBMessageFilter> db_message_filter_;
« no previous file with comments | « no previous file | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698