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

Side by Side Diff: content/public/browser/browser_main_parts.h

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/browser_thread.h"
11 10
12 namespace content { 11 namespace content {
13 12
14 // This class contains different "stages" to be executed by |BrowserMain()|, 13 // This class contains different "stages" to be executed by |BrowserMain()|,
15 // Each stage is represented by a single BrowserMainParts method, called from 14 // Each stage is represented by a single BrowserMainParts method, called from
16 // the corresponding method in |BrowserMainLoop| (e.g., EarlyInitialization()) 15 // the corresponding method in |BrowserMainLoop| (e.g., EarlyInitialization())
17 // which does the following: 16 // which does the following:
18 // - calls a method (e.g., "PreEarlyInitialization()") which implements 17 // - calls a method (e.g., "PreEarlyInitialization()") which implements
19 // platform / tookit specific code for that stage. 18 // platform / tookit specific code for that stage.
20 // - calls various methods for things common to all platforms (for that stage). 19 // - calls various methods for things common to all platforms (for that stage).
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 virtual void PostMainMessageLoopRun() {} 85 virtual void PostMainMessageLoopRun() {}
87 86
88 // Called as the very last part of shutdown, after threads have been 87 // Called as the very last part of shutdown, after threads have been
89 // stopped and destroyed. 88 // stopped and destroyed.
90 virtual void PostDestroyThreads() {} 89 virtual void PostDestroyThreads() {}
91 }; 90 };
92 91
93 } // namespace content 92 } // namespace content
94 93
95 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_ 94 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « content/browser/utility_process_host_impl.cc ('k') | content/public/browser/browser_ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698