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

Side by Side Diff: apps/shell/shell_browser_context.h

Issue 151893002: Reorganize apps/shell into app, browser and common directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (subdirs) Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « apps/shell/shell_app_sorting.cc ('k') | apps/shell/shell_browser_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef APPS_SHELL_SHELL_BROWSER_CONTEXT_H_
6 #define APPS_SHELL_SHELL_BROWSER_CONTEXT_H_
7
8 #include "base/compiler_specific.h"
9 #include "content/shell/browser/shell_browser_context.h"
10
11 namespace apps {
12
13 // The BrowserContext used by the content, apps and extensions systems in
14 // app_shell.
15 class ShellBrowserContext : public content::ShellBrowserContext {
16 public:
17 ShellBrowserContext();
18 virtual ~ShellBrowserContext();
19
20 // HACK: Pad the virtual function table so we trip an assertion if someone
21 // tries to use |this| as a Profile.
22 virtual void ProfileFunctionCallOnNonProfileBrowserContext1();
23 virtual void ProfileFunctionCallOnNonProfileBrowserContext2();
24 virtual void ProfileFunctionCallOnNonProfileBrowserContext3();
25 virtual void ProfileFunctionCallOnNonProfileBrowserContext4();
26 virtual void ProfileFunctionCallOnNonProfileBrowserContext5();
27 virtual void ProfileFunctionCallOnNonProfileBrowserContext6();
28 virtual void ProfileFunctionCallOnNonProfileBrowserContext7();
29 virtual void ProfileFunctionCallOnNonProfileBrowserContext8();
30 virtual void ProfileFunctionCallOnNonProfileBrowserContext9();
31 virtual void ProfileFunctionCallOnNonProfileBrowserContext10();
32 virtual void ProfileFunctionCallOnNonProfileBrowserContext11();
33 virtual void ProfileFunctionCallOnNonProfileBrowserContext12();
34 virtual void ProfileFunctionCallOnNonProfileBrowserContext13();
35 virtual void ProfileFunctionCallOnNonProfileBrowserContext14();
36 virtual void ProfileFunctionCallOnNonProfileBrowserContext15();
37
38 private:
39 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext);
40 };
41
42 } // namespace apps
43
44 #endif // APPS_SHELL_SHELL_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « apps/shell/shell_app_sorting.cc ('k') | apps/shell/shell_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698