OLD | NEW |
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 // Contains functions used by BrowserMain() that are win32-specific. | 5 // Contains functions used by BrowserMain() that are win32-specific. |
6 | 6 |
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ |
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ |
9 | 9 |
10 #include "base/files/file_path_watcher.h" | 10 #include "base/files/file_path_watcher.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 class ChromeBrowserMainPartsWin : public ChromeBrowserMainParts { | 26 class ChromeBrowserMainPartsWin : public ChromeBrowserMainParts { |
27 public: | 27 public: |
28 explicit ChromeBrowserMainPartsWin( | 28 explicit ChromeBrowserMainPartsWin( |
29 const content::MainFunctionParams& parameters); | 29 const content::MainFunctionParams& parameters); |
30 | 30 |
31 ~ChromeBrowserMainPartsWin() override; | 31 ~ChromeBrowserMainPartsWin() override; |
32 | 32 |
33 // BrowserParts overrides. | 33 // BrowserParts overrides. |
34 void ToolkitInitialized() override; | 34 void ToolkitInitialized() override; |
35 void PreMainMessageLoopStart() override; | 35 void PreMainMessageLoopStart() override; |
36 int PreCreateThreads() override; | 36 int PreCreateThreadsBegin() override; |
37 | 37 |
38 // ChromeBrowserMainParts overrides. | 38 // ChromeBrowserMainParts overrides. |
39 void ShowMissingLocaleMessageBox() override; | 39 void ShowMissingLocaleMessageBox() override; |
40 void PostProfileInit() override; | 40 void PostProfileInit() override; |
41 void PostBrowserStart() override; | 41 void PostBrowserStart() override; |
42 | 42 |
43 // Prepares the localized strings that are going to be displayed to | 43 // Prepares the localized strings that are going to be displayed to |
44 // the user if the browser process dies. These strings are stored in the | 44 // the user if the browser process dies. These strings are stored in the |
45 // environment block so they are accessible in the early stages of the | 45 // environment block so they are accessible in the early stages of the |
46 // chrome executable's lifetime. | 46 // chrome executable's lifetime. |
(...skipping 28 matching lines...) Expand all Loading... |
75 #endif | 75 #endif |
76 #if BUILDFLAG(ENABLE_KASKO) | 76 #if BUILDFLAG(ENABLE_KASKO) |
77 // Cleans up Kasko crash reports that exceeded the maximum upload attempts. | 77 // Cleans up Kasko crash reports that exceeded the maximum upload attempts. |
78 base::FilePathWatcher failed_kasko_crash_report_watcher_; | 78 base::FilePathWatcher failed_kasko_crash_report_watcher_; |
79 #endif | 79 #endif |
80 | 80 |
81 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); | 81 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); |
82 }; | 82 }; |
83 | 83 |
84 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 84 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ |
OLD | NEW |