| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef APPS_SHELL_APP_SHELL_BROWSER_CONTEXT_H_ | 5 #ifndef APPS_SHELL_SHELL_BROWSER_CONTEXT_H_ |
| 6 #define APPS_SHELL_APP_SHELL_BROWSER_CONTEXT_H_ | 6 #define APPS_SHELL_SHELL_BROWSER_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "content/shell/browser/shell_browser_context.h" | 9 #include "content/shell/browser/shell_browser_context.h" |
| 10 | 10 |
| 11 namespace apps { | 11 namespace apps { |
| 12 | 12 |
| 13 // The BrowserContext used by the content, apps and extensions systems in | 13 // The BrowserContext used by the content, apps and extensions systems in |
| 14 // app_shell. | 14 // app_shell. |
| 15 class AppShellBrowserContext : public content::ShellBrowserContext { | 15 class ShellBrowserContext : public content::ShellBrowserContext { |
| 16 public: | 16 public: |
| 17 AppShellBrowserContext(); | 17 ShellBrowserContext(); |
| 18 virtual ~AppShellBrowserContext(); | 18 virtual ~ShellBrowserContext(); |
| 19 | 19 |
| 20 // HACK: Pad the virtual function table so we trip an assertion if someone | 20 // HACK: Pad the virtual function table so we trip an assertion if someone |
| 21 // tries to use |this| as a Profile. | 21 // tries to use |this| as a Profile. |
| 22 virtual void ProfileFunctionCallOnNonProfileBrowserContext1(); | 22 virtual void ProfileFunctionCallOnNonProfileBrowserContext1(); |
| 23 virtual void ProfileFunctionCallOnNonProfileBrowserContext2(); | 23 virtual void ProfileFunctionCallOnNonProfileBrowserContext2(); |
| 24 virtual void ProfileFunctionCallOnNonProfileBrowserContext3(); | 24 virtual void ProfileFunctionCallOnNonProfileBrowserContext3(); |
| 25 virtual void ProfileFunctionCallOnNonProfileBrowserContext4(); | 25 virtual void ProfileFunctionCallOnNonProfileBrowserContext4(); |
| 26 virtual void ProfileFunctionCallOnNonProfileBrowserContext5(); | 26 virtual void ProfileFunctionCallOnNonProfileBrowserContext5(); |
| 27 virtual void ProfileFunctionCallOnNonProfileBrowserContext6(); | 27 virtual void ProfileFunctionCallOnNonProfileBrowserContext6(); |
| 28 virtual void ProfileFunctionCallOnNonProfileBrowserContext7(); | 28 virtual void ProfileFunctionCallOnNonProfileBrowserContext7(); |
| 29 virtual void ProfileFunctionCallOnNonProfileBrowserContext8(); | 29 virtual void ProfileFunctionCallOnNonProfileBrowserContext8(); |
| 30 virtual void ProfileFunctionCallOnNonProfileBrowserContext9(); | 30 virtual void ProfileFunctionCallOnNonProfileBrowserContext9(); |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 DISALLOW_COPY_AND_ASSIGN(AppShellBrowserContext); | 33 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 } // namespace apps | 36 } // namespace apps |
| 37 | 37 |
| 38 #endif // APPS_SHELL_APP_SHELL_BROWSER_CONTEXT_H_ | 38 #endif // APPS_SHELL_SHELL_BROWSER_CONTEXT_H_ |
| OLD | NEW |