 Chromium Code Reviews
 Chromium Code Reviews Issue 2822433003:
  Cleanup Tool WebUI: Add functionality to the Scan button  (Closed)
    
  
    Issue 2822433003:
  Cleanup Tool WebUI: Add functionality to the Scan button  (Closed) 
  | OLD | NEW | 
|---|---|
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 #include "chrome/browser/component_updater/sw_reporter_installer_win.h" | 5 #include "chrome/browser/component_updater/sw_reporter_installer_win.h" | 
| 6 | 6 | 
| 7 #include <stdint.h> | 7 #include <stdint.h> | 
| 8 | 8 | 
| 9 #include <algorithm> | 9 #include <algorithm> | 
| 10 #include <map> | 10 #include <map> | 
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 494 registry->RegisterInt64Pref(prefs::kSwReporterLastTimeSentReport, 0); | 494 registry->RegisterInt64Pref(prefs::kSwReporterLastTimeSentReport, 0); | 
| 495 } | 495 } | 
| 496 | 496 | 
| 497 void RegisterProfilePrefsForSwReporter( | 497 void RegisterProfilePrefsForSwReporter( | 
| 498 user_prefs::PrefRegistrySyncable* registry) { | 498 user_prefs::PrefRegistrySyncable* registry) { | 
| 499 registry->RegisterStringPref(prefs::kSwReporterPromptVersion, ""); | 499 registry->RegisterStringPref(prefs::kSwReporterPromptVersion, ""); | 
| 500 | 500 | 
| 501 registry->RegisterStringPref(prefs::kSwReporterPromptSeed, ""); | 501 registry->RegisterStringPref(prefs::kSwReporterPromptSeed, ""); | 
| 502 } | 502 } | 
| 503 | 503 | 
| 504 void RegisterUserInitiatedSwReporterScan(base::Closure callback) { | |
| 505 // TODO(proberge): Implement me. | |
| 
ftirelo
2017/04/13 17:10:43
Nit: Please describe this as a stub and what is in
 
proberge
2017/04/13 18:53:02
Done.
 | |
| 506 callback.Run(); | |
| 507 } | |
| 508 | |
| 504 } // namespace component_updater | 509 } // namespace component_updater | 
| OLD | NEW |