summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-12 22:36:18 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-12 22:36:18 +0000
commitcdc89119701e2f3f115016faa772ecddbb4025d4 (patch)
treebc0afb76688cf21ae237f280ba1470753600524c /webkit/glue
parent130dee6eb86395c0541a342c8e0c7cf47e8b9b07 (diff)
downloadchromium_src-cdc89119701e2f3f115016faa772ecddbb4025d4.zip
chromium_src-cdc89119701e2f3f115016faa772ecddbb4025d4.tar.gz
chromium_src-cdc89119701e2f3f115016faa772ecddbb4025d4.tar.bz2
Part 1 of changes to to build chrome\common as a dll. Moving some of the functionality provided by plugin_thread.cc
to the default_plugin which is the only caller. Removed the unused AppendToLog function from the webkit_glue namespace. BUG=82326 Review URL: http://codereview.chromium.org/7012004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85202 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/webkit_glue.cc2
-rw-r--r--webkit/glue/webkit_glue.h15
2 files changed, 3 insertions, 14 deletions
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc
index 5ba216a..7e393d9 100644
--- a/webkit/glue/webkit_glue.cc
+++ b/webkit/glue/webkit_glue.cc
@@ -252,7 +252,7 @@ string16 DumpHistoryState(const std::string& history_state, int indent,
void DumpLeakedObject(const char* file, int line, const char* object,
int count) {
std::string msg = base::StringPrintf("%s LEAKED %d TIMES", object, count);
- AppendToLog(file, line, msg.c_str());
+ logging::LogMessage(file, line).stream() << msg;
}
#endif
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h
index 7a8bedb..8136a28 100644
--- a/webkit/glue/webkit_glue.h
+++ b/webkit/glue/webkit_glue.h
@@ -117,7 +117,8 @@ std::string RemoveScrollOffsetFromHistoryState(
#ifndef NDEBUG
// Checks various important objects to see if there are any in memory, and
-// calls AppendToLog with any leaked objects. Designed to be called on shutdown
+// calls AppendToLog with any leaked objects. Designed to be called on
+// shutdown.
void CheckForLeaks();
#endif
@@ -156,9 +157,6 @@ int GetGlyphPageCount();
//---- BEGIN FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------
-// This function is called to add a line to the application's log file.
-void AppendToLog(const char* filename, int line, const char* message);
-
// Glue to get resources from the embedder.
// Gets a localized string given a message id. Returns an empty string if the
@@ -235,15 +233,6 @@ bool IsDefaultPluginEnabled();
// required by the media engine.
bool IsProtocolSupportedForMedia(const GURL& url);
-#if defined(OS_WIN)
-// Downloads the file specified by the URL. On sucess a WM_COPYDATA message
-// will be sent to the caller_window.
-bool DownloadUrl(const std::string& url, HWND caller_window);
-#endif
-
-// Returns the plugin finder URL.
-bool GetPluginFinderURL(std::string* plugin_finder_url);
-
// Resolves the proxies for the url, returns true on success.
bool FindProxyForUrl(const GURL& url, std::string* proxy_list);