diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 05:38:46 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 05:38:46 +0000 |
commit | 0e0126401261fee4d69237b489f672e933bcfb71 (patch) | |
tree | 47665b1871516b8e2466cf7084af47307ce44add /webkit/glue/webkit_glue.h | |
parent | 64d7a42850c7b5fd2890f436573ebec5b9ce949e (diff) | |
download | chromium_src-0e0126401261fee4d69237b489f672e933bcfb71.zip chromium_src-0e0126401261fee4d69237b489f672e933bcfb71.tar.gz chromium_src-0e0126401261fee4d69237b489f672e933bcfb71.tar.bz2 |
Start compiling a bunch of *Chromium.cpp files in our port on
linux. More will come once we stop using PLATFORM_GTK_.
Review URL: http://codereview.chromium.org/7606
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r-- | webkit/glue/webkit_glue.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index 8263f74..3424ee6 100644 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -129,16 +129,16 @@ void AppendToLog(const char* filename, int line, const char* message); // Get the mime type (if any) that is associated with the given file extension. // Returns true if a corresponding mime type exists. -bool GetMimeTypeFromExtension(std::wstring &ext, std::string *mime_type); +bool GetMimeTypeFromExtension(const std::wstring& ext, std::string* mime_type); // Get the mime type (if any) that is associated with the given file. // Returns true if a corresponding mime type exists. -bool GetMimeTypeFromFile(const std::wstring &file_path, std::string *mime_type); +bool GetMimeTypeFromFile(const std::wstring& file_path, std::string* mime_type); // Get the preferred extension (if any) associated with the given mime type. // Returns true if a corresponding file extension exists. bool GetPreferredExtensionForMimeType(const std::string& mime_type, - std::wstring *ext); + std::wstring* ext); #ifdef _WIN32 // Returns the com object pointer for the FontLink interface @@ -219,7 +219,7 @@ void ClipboardReadHTML(std::wstring* markup, GURL* url); // GetExeDirectory(), depending on the embedder's implementation. // Path is an output parameter to receive the path. // Returns true if successful, false otherwise. -bool GetApplicationDirectory(std::wstring *path); +bool GetApplicationDirectory(std::wstring* path); // Gets the URL where the inspector's HTML file resides. It must use the // protocol returned by GetUIResourceProtocol. @@ -232,7 +232,7 @@ std::string GetUIResourceProtocol(); // Gets the directory where the launching executable resides on disk. // Path is an output parameter to receive the path. // Returns true if successful, false otherwise. -bool GetExeDirectory(std::wstring *path); +bool GetExeDirectory(std::wstring* path); // Embedders implement this function to return the list of plugins to Webkit. bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins); |