summaryrefslogtreecommitdiffstats
path: root/chrome/service
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-04-29 14:45:03 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-29 21:45:39 +0000
commitbcb225732617dc751c631f20adc6c9507e56cb8c (patch)
tree9bc80a773e14499805d0e262ce3666e2f8fd5a17 /chrome/service
parent65dc6219e497328d828f790b35d2c0cec287b16e (diff)
downloadchromium_src-bcb225732617dc751c631f20adc6c9507e56cb8c.zip
chromium_src-bcb225732617dc751c631f20adc6c9507e56cb8c.tar.gz
chromium_src-bcb225732617dc751c631f20adc6c9507e56cb8c.tar.bz2
Apply automated fixits for Chrome clang plugin to chrome.
Working on trimming down plugin warnings on the Windows clang build. BUG=467287 NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1109043003 Cr-Commit-Position: refs/heads/master@{#327576}
Diffstat (limited to 'chrome/service')
-rw-r--r--chrome/service/cloud_print/print_system_win.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc
index 6aed0ba..9c03956 100644
--- a/chrome/service/cloud_print/print_system_win.cc
+++ b/chrome/service/cloud_print/print_system_win.cc
@@ -37,9 +37,7 @@ class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate {
: delegate_(NULL),
did_signal_(false) {
}
- ~PrintSystemWatcherWin() {
- Stop();
- }
+ ~PrintSystemWatcherWin() override { Stop(); }
class Delegate {
public:
@@ -87,7 +85,7 @@ class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate {
}
// base::ObjectWatcher::Delegate method
- virtual void OnObjectSignaled(HANDLE object) {
+ void OnObjectSignaled(HANDLE object) override {
crash_keys::ScopedPrinterInfo crash_key(printer_info_);
DWORD change = 0;
FindNextPrinterChangeNotification(object, &change, NULL, NULL);