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

Side by Side Diff: chrome/browser/chrome_browser_main.h

Issue 2215353004: content: Let embedders know when MojoShellConnection is initialized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // content::BrowserMainParts overrides. 63 // content::BrowserMainParts overrides.
64 // These are called in-order by content::BrowserMainLoop. 64 // These are called in-order by content::BrowserMainLoop.
65 // Each stage calls the same stages in any ChromeBrowserMainExtraParts added 65 // Each stage calls the same stages in any ChromeBrowserMainExtraParts added
66 // with AddParts() from ChromeContentBrowserClient::CreateBrowserMainParts. 66 // with AddParts() from ChromeContentBrowserClient::CreateBrowserMainParts.
67 void PreEarlyInitialization() override; 67 void PreEarlyInitialization() override;
68 void PostEarlyInitialization() override; 68 void PostEarlyInitialization() override;
69 void ToolkitInitialized() override; 69 void ToolkitInitialized() override;
70 void PreMainMessageLoopStart() override; 70 void PreMainMessageLoopStart() override;
71 void PostMainMessageLoopStart() override; 71 void PostMainMessageLoopStart() override;
72 int PreCreateThreads() override; 72 int PreCreateThreads() override;
73 void MojoShellConnectionStarted(
74 content::MojoShellConnection* connection) override;
73 void PreMainMessageLoopRun() override; 75 void PreMainMessageLoopRun() override;
74 bool MainMessageLoopRun(int* result_code) override; 76 bool MainMessageLoopRun(int* result_code) override;
75 void PostMainMessageLoopRun() override; 77 void PostMainMessageLoopRun() override;
76 void PostDestroyThreads() override; 78 void PostDestroyThreads() override;
77 79
78 // Additional stages for ChromeBrowserMainExtraParts. These stages are called 80 // Additional stages for ChromeBrowserMainExtraParts. These stages are called
79 // in order from PreMainMessageLoopRun(). See implementation for details. 81 // in order from PreMainMessageLoopRun(). See implementation for details.
80 virtual void PreProfileInit(); 82 virtual void PreProfileInit();
81 virtual void PostProfileInit(); 83 virtual void PostProfileInit();
82 virtual void PreBrowserStart(); 84 virtual void PreBrowserStart();
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 195
194 // Members initialized in PreMainMessageLoopRun, needed in 196 // Members initialized in PreMainMessageLoopRun, needed in
195 // PreMainMessageLoopRunThreadsCreated. 197 // PreMainMessageLoopRunThreadsCreated.
196 PrefService* local_state_; 198 PrefService* local_state_;
197 base::FilePath user_data_dir_; 199 base::FilePath user_data_dir_;
198 200
199 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); 201 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts);
200 }; 202 };
201 203
202 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ 204 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698