Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / safe_browsing / srt_fetcher_win.h
blob782cd9279fa7f3ddcc4c1600b620d6b0ec8e8bb6
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SRT_FETCHER_WIN_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_SRT_FETCHER_WIN_H_
8 #include <string>
10 namespace base {
11 class FilePath;
14 namespace safe_browsing {
16 // Reporter exit codes.
17 const int kSwReporterCleanupNeeded = 0;
18 const int kSwReporterNothingFound = 2;
19 const int kSwReporterPostRebootCleanupNeeded = 4;
20 const int kSwReporterDelayedPostRebootCleanupNeeded = 15;
22 // Tries to run the sw_reporter component, and schedule the next try.
23 void RunSwReporter(const base::FilePath& exe_path, const std::string& version);
25 } // namespace safe_browsing
27 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_FETCHER_WIN_H_