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

Side by Side Diff: google_apis/gcm/engine/mcs_client.cc

Issue 1968043003: Fix include path for moved thread_task_runner_handle.h header in google_apis/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: 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 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 "google_apis/gcm/engine/mcs_client.h" 5 #include "google_apis/gcm/engine/mcs_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
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/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "base/time/clock.h" 16 #include "base/time/clock.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "base/timer/timer.h" 18 #include "base/timer/timer.h"
19 #include "google_apis/gcm/base/mcs_util.h" 19 #include "google_apis/gcm/base/mcs_util.h"
20 #include "google_apis/gcm/base/socket_stream.h" 20 #include "google_apis/gcm/base/socket_stream.h"
21 #include "google_apis/gcm/engine/connection_factory.h" 21 #include "google_apis/gcm/engine/connection_factory.h"
22 #include "google_apis/gcm/monitoring/gcm_stats_recorder.h" 22 #include "google_apis/gcm/monitoring/gcm_stats_recorder.h"
23 23
24 using namespace google::protobuf::io; 24 using namespace google::protobuf::io;
25 25
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 reinterpret_cast<mcs_proto::DataMessageStanza*>(packet->protobuf.get()); 963 reinterpret_cast<mcs_proto::DataMessageStanza*>(packet->protobuf.get());
964 CollapseKey collapse_key(*data_message); 964 CollapseKey collapse_key(*data_message);
965 if (collapse_key.IsValid()) 965 if (collapse_key.IsValid())
966 collapse_key_map_.erase(collapse_key); 966 collapse_key_map_.erase(collapse_key);
967 } 967 }
968 968
969 return packet; 969 return packet;
970 } 970 }
971 971
972 } // namespace gcm 972 } // namespace gcm
OLDNEW
« no previous file with comments | « google_apis/gcm/engine/heartbeat_manager_unittest.cc ('k') | google_apis/gcm/engine/registration_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698