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

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

Issue 290013011: Move all remaining files to gcm_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 6 years, 6 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 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 "chrome/browser/services/gcm/fake_gcm_client.h" 5 #include "components/gcm_driver/fake_gcm_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/sequenced_task_runner.h" 10 #include "base/sequenced_task_runner.h"
11 #include "base/sys_byteorder.h" 11 #include "base/sys_byteorder.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "google_apis/gcm/base/encryptor.h" 13 #include "google_apis/gcm/base/encryptor.h"
14 14
15 namespace gcm { 15 namespace gcm {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 } 212 }
213 213
214 void FakeGCMClient::MessageSendError( 214 void FakeGCMClient::MessageSendError(
215 const std::string& app_id, 215 const std::string& app_id,
216 const GCMClient::SendErrorDetails& send_error_details) { 216 const GCMClient::SendErrorDetails& send_error_details) {
217 if (delegate_) 217 if (delegate_)
218 delegate_->OnMessageSendError(app_id, send_error_details); 218 delegate_->OnMessageSendError(app_id, send_error_details);
219 } 219 }
220 220
221 } // namespace gcm 221 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_client.h ('k') | components/gcm_driver/fake_gcm_client_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698