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

Side by Side Diff: chrome/browser/component_updater/component_updater_ping_manager.cc

Issue 138553004: Move component updater artifacts into component_updater namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/component_updater_ping_manager.h" 5 #include "chrome/browser/component_updater/component_updater_ping_manager.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/guid.h" 8 #include "base/guid.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 : ping_url_(ping_url), 177 : ping_url_(ping_url),
178 url_request_context_getter_(url_request_context_getter) { 178 url_request_context_getter_(url_request_context_getter) {
179 } 179 }
180 180
181 PingManager::~PingManager() { 181 PingManager::~PingManager() {
182 } 182 }
183 183
184 // Sends a fire and forget ping when the updates are complete. The ping 184 // Sends a fire and forget ping when the updates are complete. The ping
185 // sender object self-deletes after sending the ping. 185 // sender object self-deletes after sending the ping.
186 void PingManager::OnUpdateComplete(const CrxUpdateItem* item) { 186 void PingManager::OnUpdateComplete(const CrxUpdateItem* item) {
187 component_updater::PingSender* ping_sender(new PingSender); 187 PingSender* ping_sender(new PingSender);
188 ping_sender->SendPing(ping_url_, url_request_context_getter_, item); 188 ping_sender->SendPing(ping_url_, url_request_context_getter_, item);
189 } 189 }
190 190
191 } // namespace component_updater 191 } // namespace component_updater
192 192
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698