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

Side by Side Diff: content/shell/shell_browser_main.h

Issue 8387039: Move content_restriction.h and main_function_params.h to content/public/common, and put them in t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_SHELL_SHELL_BROWSER_MAIN_H_ 5 #ifndef CONTENT_SHELL_SHELL_BROWSER_MAIN_H_
6 #define CONTENT_SHELL_SHELL_BROWSER_MAIN_H_ 6 #define CONTENT_SHELL_SHELL_BROWSER_MAIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "content/public/browser/browser_main_parts.h" 11 #include "content/public/browser/browser_main_parts.h"
12 12
13 class ResourceDispatcherHost; 13 class ResourceDispatcherHost;
14 struct MainFunctionParams;
15 14
16 namespace base { 15 namespace base {
17 class Thread; 16 class Thread;
18 } 17 }
19 18
20 namespace ui { 19 namespace ui {
21 class Clipboard; 20 class Clipboard;
22 } 21 }
23 22
24 namespace content { 23 namespace content {
25 24
26 class ShellBrowserContext; 25 class ShellBrowserContext;
26 struct MainFunctionParams;
27 27
28 class ShellBrowserMainParts : public BrowserMainParts { 28 class ShellBrowserMainParts : public BrowserMainParts {
29 public: 29 public:
30 explicit ShellBrowserMainParts(const MainFunctionParams& parameters); 30 explicit ShellBrowserMainParts(const content::MainFunctionParams& parameters);
31 virtual ~ShellBrowserMainParts(); 31 virtual ~ShellBrowserMainParts();
32 32
33 virtual void PreEarlyInitialization() OVERRIDE {} 33 virtual void PreEarlyInitialization() OVERRIDE {}
34 virtual void PostEarlyInitialization() OVERRIDE {} 34 virtual void PostEarlyInitialization() OVERRIDE {}
35 virtual void PreMainMessageLoopStart() OVERRIDE {} 35 virtual void PreMainMessageLoopStart() OVERRIDE {}
36 virtual void ToolkitInitialized() OVERRIDE {} 36 virtual void ToolkitInitialized() OVERRIDE {}
37 virtual void PostMainMessageLoopStart() OVERRIDE {} 37 virtual void PostMainMessageLoopStart() OVERRIDE {}
38 virtual void PreMainMessageLoopRun() OVERRIDE; 38 virtual void PreMainMessageLoopRun() OVERRIDE;
39 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; 39 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE;
40 virtual void PostMainMessageLoopRun() {} 40 virtual void PostMainMessageLoopRun() {}
(...skipping 15 matching lines...) Expand all
56 scoped_ptr<base::Thread> db_thread_; 56 scoped_ptr<base::Thread> db_thread_;
57 scoped_ptr<base::Thread> process_launcher_thread_; 57 scoped_ptr<base::Thread> process_launcher_thread_;
58 scoped_ptr<base::Thread> cache_thread_; 58 scoped_ptr<base::Thread> cache_thread_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); 60 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts);
61 }; 61 };
62 62
63 } // namespace content 63 } // namespace content
64 64
65 #endif // CONTENT_SHELL_SHELL_BROWSER_MAIN_H_ 65 #endif // CONTENT_SHELL_SHELL_BROWSER_MAIN_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_main_platform_delegate_win.cc ('k') | content/shell/shell_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698