summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/temp_scaffolding_stubs.cpp7
-rw-r--r--chrome/common/temp_scaffolding_stubs.h10
2 files changed, 5 insertions, 12 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cpp b/chrome/common/temp_scaffolding_stubs.cpp
index 3517c4f..bdfec42 100644
--- a/chrome/common/temp_scaffolding_stubs.cpp
+++ b/chrome/common/temp_scaffolding_stubs.cpp
@@ -212,9 +212,6 @@ void InstallJankometer(const CommandLine&) {
//--------------------------------------------------------------------------
-void Browser::InitCommandState() {
-}
-
void Browser::Observe(NotificationType type,
const NotificationSource& source,
const NotificationDetails& details) {
@@ -223,3 +220,7 @@ void Browser::Observe(NotificationType type,
LocationBarView* Browser::GetLocationBarView() const {
return window_->GetLocationBarView();
}
+
+void Browser::NewWindow() {
+ Browser::OpenEmptyWindow(NULL);
+}
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index 712ca0d..428cfb2 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -176,6 +176,7 @@ class Profile {
SessionService* GetSessionService() { return NULL; }
bool IsOffTheRecord() { return false; }
URLRequestContext* GetRequestContext() { return NULL; }
+ virtual Profile* GetOriginalProfile() { return this; }
private:
std::wstring GetPrefFilePath();
@@ -280,15 +281,6 @@ class TabStripModel {
scoped_ptr<TabContents> contents_;
};
-class CommandUpdater {
- public:
- class CommandUpdaterDelegate {
- public:
- };
-
- CommandUpdater(CommandUpdaterDelegate* const) { }
-};
-
class SelectFileDialog : public base::RefCountedThreadSafe<SelectFileDialog> {
public:
class Listener {