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

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

Issue 2613803005: [win] Enable ModuleDatabase behind a flag. (Closed)
Patch Set: Address grt's nits, more comments. Created 3 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
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 // 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"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "chrome/browser/chrome_browser_main.h" 12 #include "chrome/browser/chrome_browser_main.h"
13 #include "chrome/common/conflicts/module_watcher_win.h"
sky 2017/01/13 23:58:43 Can you forward declare ModuleWatcher?
chrisha 2017/01/18 22:20:02 Done.
13 #include "third_party/kasko/kasko_features.h" 14 #include "third_party/kasko/kasko_features.h"
14 15
15 class DidRunUpdater; 16 class DidRunUpdater;
16 17
17 namespace base { 18 namespace base {
18 class CommandLine; 19 class CommandLine;
19 } 20 }
20 21
21 // Handle uninstallation when given the appropriate the command-line switch. 22 // Handle uninstallation when given the appropriate the command-line switch.
22 // If |chrome_still_running| is true a modal dialog will be shown asking the 23 // If |chrome_still_running| is true a modal dialog will be shown asking the
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 72
72 private: 73 private:
73 #if defined(GOOGLE_CHROME_BUILD) 74 #if defined(GOOGLE_CHROME_BUILD)
74 std::unique_ptr<DidRunUpdater> did_run_updater_; 75 std::unique_ptr<DidRunUpdater> did_run_updater_;
75 #endif 76 #endif
76 #if BUILDFLAG(ENABLE_KASKO) 77 #if BUILDFLAG(ENABLE_KASKO)
77 // Cleans up Kasko crash reports that exceeded the maximum upload attempts. 78 // Cleans up Kasko crash reports that exceeded the maximum upload attempts.
78 base::FilePathWatcher failed_kasko_crash_report_watcher_; 79 base::FilePathWatcher failed_kasko_crash_report_watcher_;
79 #endif 80 #endif
80 81
82 std::unique_ptr<ModuleWatcher> module_watcher_;
83
81 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); 84 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin);
82 }; 85 };
83 86
84 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ 87 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_field_trials_desktop.cc ('k') | chrome/browser/chrome_browser_main_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698