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

Side by Side Diff: components/gcm_driver/instance_id/instance_id_impl.h

Issue 1573843002: Make `chrome` target build without unused data members on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@content_target
Patch Set: browsertest fix Created 4 years, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_H_
6 #define COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_H_ 6 #define COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 const GetTokenCallback& callback); 66 const GetTokenCallback& callback);
67 void DoDeleteToken(const std::string& authorized_entity, 67 void DoDeleteToken(const std::string& authorized_entity,
68 const std::string& scope, 68 const std::string& scope,
69 const DeleteTokenCallback& callback); 69 const DeleteTokenCallback& callback);
70 void DoDeleteID(const DeleteIDCallback& callback); 70 void DoDeleteID(const DeleteIDCallback& callback);
71 71
72 gcm::GCMDriver* gcm_driver_; // Not owned. 72 gcm::GCMDriver* gcm_driver_; // Not owned.
73 73
74 gcm::GCMDelayedTaskController delayed_task_controller_; 74 gcm::GCMDelayedTaskController delayed_task_controller_;
75 75
76 // Flag to indicate that we have tries to load the data from the store.
77 bool load_from_store_;
78
79 // The generated Instance ID. 76 // The generated Instance ID.
80 std::string id_; 77 std::string id_;
81 78
82 // The time when the Instance ID has been generated. 79 // The time when the Instance ID has been generated.
83 base::Time creation_time_; 80 base::Time creation_time_;
84 81
85 base::WeakPtrFactory<InstanceIDImpl> weak_ptr_factory_; 82 base::WeakPtrFactory<InstanceIDImpl> weak_ptr_factory_;
86 83
87 DISALLOW_COPY_AND_ASSIGN(InstanceIDImpl); 84 DISALLOW_COPY_AND_ASSIGN(InstanceIDImpl);
88 }; 85 };
89 86
90 } // namespace instance_id 87 } // namespace instance_id
91 88
92 #endif // COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_H_ 89 #endif // COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.cc ('k') | components/gcm_driver/instance_id/instance_id_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698