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

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

Issue 9433006: Remove GetAudioManager and GetMediaStreamManager from ResourceContext. The reason is the content mo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 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
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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // May set |result_code|, which will be returned by |BrowserMain()|. 88 // May set |result_code|, which will be returned by |BrowserMain()|.
89 virtual bool MainMessageLoopRun(int* result_code) = 0; 89 virtual bool MainMessageLoopRun(int* result_code) = 0;
90 90
91 // This happens after the main message loop has stopped, but before 91 // This happens after the main message loop has stopped, but before
92 // threads are stopped. 92 // threads are stopped.
93 virtual void PostMainMessageLoopRun() = 0; 93 virtual void PostMainMessageLoopRun() = 0;
94 94
95 // Called as the very last part of shutdown, after threads have been 95 // Called as the very last part of shutdown, after threads have been
96 // stopped and destroyed. 96 // stopped and destroyed.
97 virtual void PostDestroyThreads() = 0; 97 virtual void PostDestroyThreads() = 0;
98
99 private:
100 DISALLOW_COPY_AND_ASSIGN(BrowserMainParts);
101 }; 98 };
102 99
103 } // namespace content 100 } // namespace content
104 101
105 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_ 102 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « content/browser/speech/speech_recognizer_unittest.cc ('k') | content/public/browser/resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698