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

Side by Side Diff: google_apis/gcm/engine/fake_connection_factory.h

Issue 1548673002: Switch to standard integer types in google_apis/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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 #ifndef GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_FACTORY_H_ 5 #ifndef GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_FACTORY_H_
6 #define GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_FACTORY_H_ 6 #define GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_FACTORY_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "google_apis/gcm/engine/connection_factory.h" 10 #include "google_apis/gcm/engine/connection_factory.h"
10 11
11 namespace gcm { 12 namespace gcm {
12 13
13 class FakeConnectionHandler; 14 class FakeConnectionHandler;
14 15
15 // A connection factory that mocks out real connections, using a fake connection 16 // A connection factory that mocks out real connections, using a fake connection
16 // handler instead. 17 // handler instead.
17 class FakeConnectionFactory : public ConnectionFactory { 18 class FakeConnectionFactory : public ConnectionFactory {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 bool delay_reconnect_; 52 bool delay_reconnect_;
52 53
53 ConnectionListener* connection_listener_; 54 ConnectionListener* connection_listener_;
54 55
55 DISALLOW_COPY_AND_ASSIGN(FakeConnectionFactory); 56 DISALLOW_COPY_AND_ASSIGN(FakeConnectionFactory);
56 }; 57 };
57 58
58 } // namespace gcm 59 } // namespace gcm
59 60
60 #endif // GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_FACTORY_H_ 61 #endif // GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_FACTORY_H_
OLDNEW
« no previous file with comments | « google_apis/gcm/engine/connection_handler_impl_unittest.cc ('k') | google_apis/gcm/engine/fake_connection_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698