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

Unified Diff: components/gcm_driver/instance_id/instance_id_driver_unittest.cc

Issue 1558633002: Cleanup: Remove double semicolons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert CP code to a while loop, fix nit Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: components/gcm_driver/instance_id/instance_id_driver_unittest.cc
diff --git a/components/gcm_driver/instance_id/instance_id_driver_unittest.cc b/components/gcm_driver/instance_id/instance_id_driver_unittest.cc
index 4f700373abb7dfbaecb6a927eb26088282d92170..8997296aca9b1dad49e6749524421ca3094672b6 100644
--- a/components/gcm_driver/instance_id/instance_id_driver_unittest.cc
+++ b/components/gcm_driver/instance_id/instance_id_driver_unittest.cc
@@ -143,7 +143,7 @@ base::Time InstanceIDDriverTest::GetCreationTime(InstanceID* instance_id) {
InstanceID::Result InstanceIDDriverTest::DeleteID(InstanceID* instance_id) {
async_operation_completed_ = false;
- result_ = InstanceID::UNKNOWN_ERROR;;
+ result_ = InstanceID::UNKNOWN_ERROR;
instance_id->DeleteID(base::Bind(&InstanceIDDriverTest::DeleteIDCompleted,
base::Unretained(this)));
WaitForAsyncOperation();
@@ -157,7 +157,7 @@ std::string InstanceIDDriverTest::GetToken(
const std::map<std::string, std::string>& options) {
async_operation_completed_ = false;
token_.clear();
- result_ = InstanceID::UNKNOWN_ERROR;;
+ result_ = InstanceID::UNKNOWN_ERROR;
instance_id->GetToken(
authorized_entity,
scope,
@@ -173,7 +173,7 @@ InstanceID::Result InstanceIDDriverTest::DeleteToken(
const std::string& authorized_entity,
const std::string& scope) {
async_operation_completed_ = false;
- result_ = InstanceID::UNKNOWN_ERROR;;
+ result_ = InstanceID::UNKNOWN_ERROR;
instance_id->DeleteToken(
authorized_entity,
scope,
@@ -209,7 +209,7 @@ void InstanceIDDriverTest::DeleteIDCompleted(InstanceID::Result result) {
}
void InstanceIDDriverTest::GetTokenCompleted(
- const std::string& token, InstanceID::Result result){
+ const std::string& token, InstanceID::Result result) {
DCHECK(!async_operation_completed_);
async_operation_completed_ = true;
token_ = token;
@@ -357,4 +357,4 @@ TEST_F(InstanceIDDriverTest, DeleteToken) {
GetToken(instance_id, kAuthorizedEntity2, kScope1, options));
}
-} // instance_id
+} // namespace instance_id

Powered by Google App Engine
This is Rietveld 408576698