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

Side by Side Diff: components/gcm_driver/fake_gcm_client.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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/gcm_driver/fake_gcm_client.h" 5 #include "components/gcm_driver/fake_gcm_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/sequenced_task_runner.h" 14 #include "base/sequenced_task_runner.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
17 #include "base/sys_byteorder.h" 17 #include "base/sys_byteorder.h"
18 #include "base/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 #include "base/time/time.h" 19 #include "base/time/time.h"
20 #include "base/timer/timer.h" 20 #include "base/timer/timer.h"
21 #include "google_apis/gcm/base/encryptor.h" 21 #include "google_apis/gcm/base/encryptor.h"
22 #include "google_apis/gcm/engine/account_mapping.h" 22 #include "google_apis/gcm/engine/account_mapping.h"
23 #include "net/base/ip_endpoint.h" 23 #include "net/base/ip_endpoint.h"
24 24
25 namespace gcm { 25 namespace gcm {
26 26
27 // static 27 // static
28 std::string FakeGCMClient::GenerateGCMRegistrationID( 28 std::string FakeGCMClient::GenerateGCMRegistrationID(
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 delegate_->OnMessageSendError(app_id, send_error_details); 318 delegate_->OnMessageSendError(app_id, send_error_details);
319 } 319 }
320 320
321 void FakeGCMClient::SendAcknowledgement(const std::string& app_id, 321 void FakeGCMClient::SendAcknowledgement(const std::string& app_id,
322 const std::string& message_id) { 322 const std::string& message_id) {
323 if (delegate_) 323 if (delegate_)
324 delegate_->OnSendAcknowledged(app_id, message_id); 324 delegate_->OnSendAcknowledged(app_id, message_id);
325 } 325 }
326 326
327 } // namespace gcm 327 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/crypto/gcm_key_store_unittest.cc ('k') | components/gcm_driver/gcm_account_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698