summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/debugger_shell.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 19:25:45 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 19:25:45 +0000
commite0ea6b42f5d8a4dc701ce2e42943765b9068e7d8 (patch)
treec41089da679d9ad312205420837862f9cc040ec6 /chrome/browser/debugger/debugger_shell.cc
parent9a1e59c4bb7c28ebb33ae4ea75032257b4f6eb7d (diff)
downloadchromium_src-e0ea6b42f5d8a4dc701ce2e42943765b9068e7d8.zip
chromium_src-e0ea6b42f5d8a4dc701ce2e42943765b9068e7d8.tar.gz
chromium_src-e0ea6b42f5d8a4dc701ce2e42943765b9068e7d8.tar.bz2
Add debugger_shell to the POSIX build.
Reviewed in issue 20321. Got reverted, but was not the cause of the debugger test failure. Review URL: http://codereview.chromium.org/21355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9776 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger/debugger_shell.cc')
-rw-r--r--chrome/browser/debugger/debugger_shell.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/browser/debugger/debugger_shell.cc b/chrome/browser/debugger/debugger_shell.cc
index 21b1c7f..64b4887 100644
--- a/chrome/browser/debugger/debugger_shell.cc
+++ b/chrome/browser/debugger/debugger_shell.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/debugger/debugger_shell.h"
+#include "build/build_config.h"
+
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/string_util.h"
@@ -15,10 +17,15 @@
#include "chrome/browser/debugger/debugger_node.h"
#include "chrome/browser/debugger/resources/debugger_resources.h"
#include "chrome/browser/renderer_host/render_process_host.h"
-#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/resource_bundle.h"
+#if defined(OS_WIN)
+#include "chrome/browser/tab_contents/tab_contents.h"
+#elif defined(OS_POSIX)
+#include "chrome/common/temp_scaffolding_stubs.h"
+#endif
+
DebuggerShell::DebuggerShell(DebuggerInputOutput* io) : io_(io),
debugger_ready_(true) {
}
@@ -409,6 +416,3 @@ v8::Handle<v8::Value> DebuggerShell::CompileAndRun(
}
return v8::Undefined();
}
-
-
-