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

Unified Diff: apps/shell/shell_browser_context.cc

Issue 99053008: Rename apps::AppShell* to apps::Shell* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « apps/shell/shell_browser_context.h ('k') | apps/shell/shell_browser_main_parts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/shell_browser_context.cc
diff --git a/apps/shell/shell_browser_context.cc b/apps/shell/shell_browser_context.cc
new file mode 100644
index 0000000000000000000000000000000000000000..32954e7191591086b1da975b5d688d1c13870e52
--- /dev/null
+++ b/apps/shell/shell_browser_context.cc
@@ -0,0 +1,59 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "apps/shell/shell_browser_context.h"
+
+#include "apps/app_load_service_factory.h"
+
+namespace {
+
+// See ChromeBrowserMainExtraPartsProfiles for details.
+void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
+ apps::AppLoadServiceFactory::GetInstance();
+}
+
+} // namespace
+
+namespace apps {
+
+// TODO(jamescook): Should this be an off-the-record context?
+// TODO(jamescook): Could initialize NetLog here to get logs from the networking
+// stack.
+ShellBrowserContext::ShellBrowserContext()
+ : content::ShellBrowserContext(false, NULL) {
+ EnsureBrowserContextKeyedServiceFactoriesBuilt();
+}
+
+ShellBrowserContext::~ShellBrowserContext() {
+}
+
+void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext1() {
+ NOTREACHED();
+}
+void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext2() {
+ NOTREACHED();
+}
+void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext3() {
+ NOTREACHED();
+}
+void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext4() {
+ NOTREACHED();
+}
+void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext5() {
+ NOTREACHED();
+}
+void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext6() {
+ NOTREACHED();
+}
+void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext7() {
+ NOTREACHED();
+}
+void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext8() {
+ NOTREACHED();
+}
+void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext9() {
+ NOTREACHED();
+}
+
+} // namespace apps
« no previous file with comments | « apps/shell/shell_browser_context.h ('k') | apps/shell/shell_browser_main_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698