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

Side by Side Diff: google_apis/gaia/oauth2_token_service_request.cc

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 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "google_apis/gaia/oauth2_token_service_request.h" 5 #include "google_apis/gaia/oauth2_token_service_request.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
11 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
13 #include "google_apis/gaia/google_service_auth_error.h" 14 #include "google_apis/gaia/google_service_auth_error.h"
14 #include "google_apis/gaia/oauth2_access_token_consumer.h" 15 #include "google_apis/gaia/oauth2_access_token_consumer.h"
15 16
16 OAuth2TokenServiceRequest::TokenServiceProvider::TokenServiceProvider() { 17 OAuth2TokenServiceRequest::TokenServiceProvider::TokenServiceProvider() {
17 } 18 }
18 19
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 const std::string& account_id) 364 const std::string& account_id)
364 : account_id_(account_id) { 365 : account_id_(account_id) {
365 DCHECK(!account_id_.empty()); 366 DCHECK(!account_id_.empty());
366 } 367 }
367 368
368 void OAuth2TokenServiceRequest::StartWithCore(const scoped_refptr<Core>& core) { 369 void OAuth2TokenServiceRequest::StartWithCore(const scoped_refptr<Core>& core) {
369 DCHECK(core.get()); 370 DCHECK(core.get());
370 core_ = core; 371 core_ = core;
371 core_->Start(); 372 core_->Start();
372 } 373 }
OLDNEW
« no previous file with comments | « google_apis/gaia/oauth2_token_service_request.h ('k') | google_apis/gaia/oauth2_token_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698