summaryrefslogtreecommitdiffstats
path: root/chrome/common/temp_scaffolding_stubs.cc
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-29 23:32:06 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-29 23:32:06 +0000
commit6cef59c4b68f538e67ae458e47f92975e253cb72 (patch)
tree64e8d6855ca9279ec1a6b5afda50ff47d4cfa059 /chrome/common/temp_scaffolding_stubs.cc
parentf67019ad2da4b89380a209e466fad006dc977ae5 (diff)
downloadchromium_src-6cef59c4b68f538e67ae458e47f92975e253cb72.zip
chromium_src-6cef59c4b68f538e67ae458e47f92975e253cb72.tar.gz
chromium_src-6cef59c4b68f538e67ae458e47f92975e253cb72.tar.bz2
Create a stub chrome executable that crashes when run.
This is mostly making sure we have all the symbols we need. Review URL: http://codereview.chromium.org/19683 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8930 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.cc')
-rw-r--r--chrome/common/temp_scaffolding_stubs.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc
index 2aefd59..bb96f59 100644
--- a/chrome/common/temp_scaffolding_stubs.cc
+++ b/chrome/common/temp_scaffolding_stubs.cc
@@ -8,6 +8,7 @@
#include "base/thread.h"
#include "base/path_service.h"
#include "base/singleton.h"
+#include "build/build_config.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_shutdown.h"
#include "chrome/browser/history/in_memory_history_backend.h"
@@ -231,10 +232,18 @@ bool RLZTracker::RecordProductEvent(Product product, AccessPoint point,
return false;
}
+#if defined(OS_MACOSX)
// We link this in for now to avoid hauling in all of WebCore (which we will
// have to eventually do)
namespace webkit_glue {
std::string GetUserAgent(const GURL& url) {
return "";
}
+#endif
+
+#if defined(OS_LINUX)
+BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) {
+ NOTIMPLEMENTED() << "CreateBrowserWindow";
+ return NULL;
}
+#endif