summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/debugger/debugger.scons2
-rw-r--r--chrome/browser/debugger/debugger_shell.cc12
2 files changed, 8 insertions, 6 deletions
diff --git a/chrome/browser/debugger/debugger.scons b/chrome/browser/debugger/debugger.scons
index 0843376..30d1a65 100644
--- a/chrome/browser/debugger/debugger.scons
+++ b/chrome/browser/debugger/debugger.scons
@@ -60,7 +60,6 @@ if env.Bit('linux'):
# TODO(port): Port these.
input_files.Remove(
'debugger_contents.cc',
- 'debugger_shell.cc',
'debugger_view.cc',
'debugger_window.cc',
)
@@ -71,7 +70,6 @@ if env.Bit('mac'):
'debugger_contents.cc',
'debugger_host_impl.cpp',
'debugger_node.cc',
- 'debugger_shell.cc',
'debugger_view.cc',
'debugger_window.cc',
)
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();
}
-
-
-