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

Side by Side Diff: components/update_client/ping_manager.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 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 "components/update_client/ping_manager.h" 5 #include "components/update_client/ping_manager.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/bind.h" 12 #include "base/bind.h"
11 #include "base/bind_helpers.h" 13 #include "base/bind_helpers.h"
12 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
13 #include "base/location.h" 15 #include "base/location.h"
14 #include "base/logging.h" 16 #include "base/logging.h"
15 #include "base/macros.h" 17 #include "base/macros.h"
16 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 195
194 // Sends a fire and forget ping when the updates are complete. The ping 196 // Sends a fire and forget ping when the updates are complete. The ping
195 // sender object self-deletes after sending the ping has completed asynchrously. 197 // sender object self-deletes after sending the ping has completed asynchrously.
196 void PingManager::OnUpdateComplete(const CrxUpdateItem* item) { 198 void PingManager::OnUpdateComplete(const CrxUpdateItem* item) {
197 PingSender* ping_sender(new PingSender(config_)); 199 PingSender* ping_sender(new PingSender(config_));
198 if (!ping_sender->SendPing(item)) 200 if (!ping_sender->SendPing(item))
199 delete ping_sender; 201 delete ping_sender;
200 } 202 }
201 203
202 } // namespace update_client 204 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/crx_downloader_unittest.cc ('k') | components/update_client/test_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698