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

Unified Diff: apps/shell/browser/shell_browser_context.h

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 years, 5 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 | « apps/shell/browser/shell_app_window_controller.h ('k') | apps/shell/browser/shell_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/browser/shell_browser_context.h
diff --git a/apps/shell/browser/shell_browser_context.h b/apps/shell/browser/shell_browser_context.h
deleted file mode 100644
index 58e3ed5d23f5d43e5f6184c6def428916527a6d2..0000000000000000000000000000000000000000
--- a/apps/shell/browser/shell_browser_context.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// 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.
-
-#ifndef APPS_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_
-#define APPS_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_
-
-#include "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
-#include "content/shell/browser/shell_browser_context.h"
-#include "webkit/browser/quota/special_storage_policy.h"
-
-namespace apps {
-
-class ShellSpecialStoragePolicy;
-
-// The BrowserContext used by the content, apps and extensions systems in
-// app_shell.
-class ShellBrowserContext : public content::ShellBrowserContext {
- public:
- ShellBrowserContext();
- virtual ~ShellBrowserContext();
-
- // content::BrowserContext implementation.
- virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
-
- // HACK: Pad the virtual function table so we trip an assertion if someone
- // tries to use |this| as a Profile.
- virtual void ProfileFunctionCallOnNonProfileBrowserContext1();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext2();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext3();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext4();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext5();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext6();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext7();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext8();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext9();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext10();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext11();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext12();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext13();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext14();
- virtual void ProfileFunctionCallOnNonProfileBrowserContext15();
-
- private:
- scoped_refptr<quota::SpecialStoragePolicy> storage_policy_;
-
- DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext);
-};
-
-} // namespace apps
-
-#endif // APPS_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_
« no previous file with comments | « apps/shell/browser/shell_app_window_controller.h ('k') | apps/shell/browser/shell_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698