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

Unified Diff: content/shell/shell_browser_context.cc

Issue 9965064: Mac content shell: File > New makes a new browser window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « content/shell/shell_browser_context.h ('k') | content/shell/shell_browser_main_parts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_browser_context.cc
diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc
index 476586069fd2dbfbe50e61c547338b2155f3ff08..dbf6445872950334820a05e8ee5a4a037d002d42 100644
--- a/content/shell/shell_browser_context.cc
+++ b/content/shell/shell_browser_context.cc
@@ -14,7 +14,6 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/geolocation_permission_context.h"
#include "content/public/browser/speech_recognition_preferences.h"
-#include "content/shell/shell_browser_main_parts.h"
#include "content/shell/shell_download_manager_delegate.h"
#include "content/shell/shell_resource_context.h"
#include "content/shell/shell_url_request_context_getter.h"
@@ -84,9 +83,11 @@ class ShellSpeechRecognitionPreferences : public SpeechRecognitionPreferences {
} // namespace
-ShellBrowserContext::ShellBrowserContext(
- ShellBrowserMainParts* shell_main_parts)
- : shell_main_parts_(shell_main_parts) {
+ShellBrowserContext* ShellBrowserContext::GetInstance() {
+ return Singleton<ShellBrowserContext>::get();
+}
+
+ShellBrowserContext::ShellBrowserContext() {
InitWhileIOAllowed();
}
« no previous file with comments | « content/shell/shell_browser_context.h ('k') | content/shell/shell_browser_main_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698