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

Unified Diff: chrome/common/temp_scaffolding_stubs.cc

Issue 19683: Create a stub chrome executable that crashes when run. (Closed)
Patch Set: rebase Created 11 years, 11 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 | « chrome/common/common.scons ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/temp_scaffolding_stubs.cc
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc
index 2aefd593d5ed7c0393ac9e54f55165ea7091fab7..bb96f592c1fa76246b452b8270ce7628dd53283f 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
« no previous file with comments | « chrome/common/common.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698