summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-12 20:34:02 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-12 20:34:02 +0000
commit9b2d25ec0be393c0509c9414729650e9a5400b5e (patch)
tree256f7ce3941823cddc3a0ac95269f9771dbc88b3 /chrome/common
parent9910fa1f2104ceac03b77dc6a2703c536863f9fb (diff)
downloadchromium_src-9b2d25ec0be393c0509c9414729650e9a5400b5e.zip
chromium_src-9b2d25ec0be393c0509c9414729650e9a5400b5e.tar.gz
chromium_src-9b2d25ec0be393c0509c9414729650e9a5400b5e.tar.bz2
Use real URLFixerUpper. Makes URLs on command line work.
Review URL: http://codereview.chromium.org/21303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9697 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/temp_scaffolding_stubs.cc13
-rw-r--r--chrome/common/temp_scaffolding_stubs.h9
2 files changed, 13 insertions, 9 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc
index cd72777..e64785d 100644
--- a/chrome/common/temp_scaffolding_stubs.cc
+++ b/chrome/common/temp_scaffolding_stubs.cc
@@ -31,6 +31,7 @@
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_plugin_util.h"
#include "chrome/common/gfx/chrome_font.h"
+#include "chrome/common/gfx/text_elider.h"
#include "chrome/common/notification_service.h"
#include "chrome/common/pref_service.h"
#include "chrome/common/process_watcher.h"
@@ -490,3 +491,15 @@ std::vector<BookmarkNode*> GetMostRecentlyModifiedGroups(BookmarkModel* model,
ScopableCPRequest::~ScopableCPRequest() {
NOTIMPLEMENTED();
}
+
+#if defined(OS_MACOSX)
+namespace gfx {
+std::wstring GetCleanStringFromUrl(const GURL& url,
+ const std::wstring& languages,
+ url_parse::Parsed* new_parsed,
+ size_t* prefix_end) {
+ NOTIMPLEMENTED();
+ return L"";
+}
+}
+#endif
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index 6a7d17e..def13b1 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -861,15 +861,6 @@ class WebAppLauncher {
}
};
-class URLFixerUpper {
- public:
- static std::wstring FixupRelativeFile(const std::wstring& base_dir,
- const std::wstring& text) {
- NOTIMPLEMENTED();
- return L"about:blank";
- }
-};
-
//---------------------------------------------------------------------------
// These stubs are for WebContents