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

Side by Side Diff: chrome/browser/services/gcm/fake_gcm_profile_service.h

Issue 469763003: Spelling fixes for 'device' and 'service'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 4 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 CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
6 #define CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_ 6 #define CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 const std::vector<std::string>& last_registered_sender_ids() const { 51 const std::vector<std::string>& last_registered_sender_ids() const {
52 return last_registered_sender_ids_; 52 return last_registered_sender_ids_;
53 } 53 }
54 54
55 void set_collect(bool collect) { 55 void set_collect(bool collect) {
56 collect_ = collect; 56 collect_ = collect;
57 } 57 }
58 58
59 private: 59 private:
60 // Indicates whether the serivce will collect paramters of the calls for 60 // Indicates whether the service will collect paramters of the calls for
61 // furter verification in tests. 61 // furter verification in tests.
62 bool collect_; 62 bool collect_;
63 std::string last_registered_app_id_; 63 std::string last_registered_app_id_;
64 std::vector<std::string> last_registered_sender_ids_; 64 std::vector<std::string> last_registered_sender_ids_;
65 std::list<GCMClient::Result> unregister_responses_; 65 std::list<GCMClient::Result> unregister_responses_;
66 GCMClient::OutgoingMessage last_sent_message_; 66 GCMClient::OutgoingMessage last_sent_message_;
67 std::string last_receiver_id_; 67 std::string last_receiver_id_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(FakeGCMProfileService); 69 DISALLOW_COPY_AND_ASSIGN(FakeGCMProfileService);
70 }; 70 };
71 71
72 } // namespace gcm 72 } // namespace gcm
73 73
74 #endif // CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_ 74 #endif // CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_local_predictor.cc ('k') | content/common/service_worker/service_worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698