OLD | NEW |
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/services/gcm/fake_gcm_profile_service.h" | 5 #include "chrome/browser/gcm/fake_gcm_profile_service.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/format_macros.h" | 10 #include "base/format_macros.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
14 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
15 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 } | 195 } |
196 | 196 |
197 void FakeGCMProfileService::DispatchMessage(const std::string& app_id, | 197 void FakeGCMProfileService::DispatchMessage(const std::string& app_id, |
198 const IncomingMessage& message) { | 198 const IncomingMessage& message) { |
199 CustomFakeGCMDriver* custom_driver = | 199 CustomFakeGCMDriver* custom_driver = |
200 static_cast<CustomFakeGCMDriver*>(driver()); | 200 static_cast<CustomFakeGCMDriver*>(driver()); |
201 custom_driver->OnDispatchMessage(app_id, message); | 201 custom_driver->OnDispatchMessage(app_id, message); |
202 } | 202 } |
203 | 203 |
204 } // namespace gcm | 204 } // namespace gcm |
OLD | NEW |