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

Side by Side Diff: chrome/common/net/gaia/gaia_oauth_client.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/important_file_writer.cc ('k') | chrome/common/service_process_util_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/common/net/gaia/gaia_oauth_client.h" 5 #include "chrome/common/net/gaia/gaia_oauth_client.h"
6 6
7 #include "base/json/json_reader.h" 7 #include "base/json/json_reader.h"
8 #include "base/logging.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/values.h" 10 #include "base/values.h"
10 #include "chrome/common/net/http_return.h" 11 #include "chrome/common/net/http_return.h"
11 #include "content/public/common/url_fetcher.h" 12 #include "content/public/common/url_fetcher.h"
12 #include "content/public/common/url_fetcher_delegate.h" 13 #include "content/public/common/url_fetcher_delegate.h"
13 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
14 #include "net/base/escape.h" 15 #include "net/base/escape.h"
15 #include "net/url_request/url_request_context_getter.h" 16 #include "net/url_request/url_request_context_getter.h"
16 17
17 namespace { 18 namespace {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 const std::string& refresh_token, 198 const std::string& refresh_token,
198 int max_retries, 199 int max_retries,
199 Delegate* delegate) { 200 Delegate* delegate) {
200 return core_->RefreshToken(oauth_client_info, 201 return core_->RefreshToken(oauth_client_info,
201 refresh_token, 202 refresh_token,
202 max_retries, 203 max_retries,
203 delegate); 204 delegate);
204 } 205 }
205 206
206 } // namespace gaia 207 } // namespace gaia
OLDNEW
« no previous file with comments | « chrome/common/important_file_writer.cc ('k') | chrome/common/service_process_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698