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

Side by Side Diff: remoting/test/access_token_fetcher_unittest.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: 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 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 #include "remoting/test/access_token_fetcher.h" 5 #include "remoting/test/access_token_fetcher.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 12 #include "base/run_loop.h"
12 #include "google_apis/gaia/gaia_urls.h" 13 #include "google_apis/gaia/gaia_urls.h"
13 #include "net/url_request/test_url_fetcher_factory.h" 14 #include "net/url_request/test_url_fetcher_factory.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 namespace { 17 namespace {
17 const char kAuthCodeValue[] = "test_auth_code_value"; 18 const char kAuthCodeValue[] = "test_auth_code_value";
18 const char kAccessTokenValue[] = "test_access_token_value"; 19 const char kAccessTokenValue[] = "test_access_token_value";
19 const char kRefreshTokenValue[] = "test_refresh_token_value"; 20 const char kRefreshTokenValue[] = "test_refresh_token_value";
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 400
400 run_loop.Run(); 401 run_loop.Run();
401 402
402 // Our callback should have been called with empty strings. 403 // Our callback should have been called with empty strings.
403 EXPECT_TRUE(access_token_retrieved_.empty()); 404 EXPECT_TRUE(access_token_retrieved_.empty());
404 EXPECT_TRUE(refresh_token_retrieved_.empty()); 405 EXPECT_TRUE(refresh_token_retrieved_.empty());
405 } 406 }
406 407
407 } // namespace test 408 } // namespace test
408 } // namespace remoting 409 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/test/access_token_fetcher.h ('k') | remoting/test/app_remoting_connected_client_fixture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698