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

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

Issue 10928017: Moving google_apis and GaiaClient to src/google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/oauth2_mint_token_flow.h" 5 #include "google_apis/gaia/oauth2_mint_token_flow.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
14 #include "base/message_loop.h" 14 #include "base/message_loop.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "base/stringprintf.h" 16 #include "base/stringprintf.h"
17 #include "base/utf_string_conversions.h" 17 #include "base/utf_string_conversions.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "chrome/common/net/gaia/gaia_urls.h" 19 #include "google_apis/gaia/gaia_urls.h"
20 #include "chrome/common/net/gaia/google_service_auth_error.h" 20 #include "google_apis/gaia/google_service_auth_error.h"
21 #include "net/base/escape.h" 21 #include "net/base/escape.h"
22 #include "net/url_request/url_fetcher.h" 22 #include "net/url_request/url_fetcher.h"
23 #include "net/url_request/url_request_context_getter.h" 23 #include "net/url_request/url_request_context_getter.h"
24 #include "net/url_request/url_request_status.h" 24 #include "net/url_request/url_request_status.h"
25 25
26 using net::URLFetcher; 26 using net::URLFetcher;
27 using net::URLRequestContextGetter; 27 using net::URLRequestContextGetter;
28 using net::URLRequestStatus; 28 using net::URLRequestStatus;
29 29
30 namespace { 30 namespace {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 for (size_t i = 0; i < entry.details.size(); i++) 252 for (size_t i = 0; i < entry.details.size(); i++)
253 TrimWhitespace(entry.details[i], TRIM_ALL, &entry.details[i]); 253 TrimWhitespace(entry.details[i], TRIM_ALL, &entry.details[i]);
254 issue_advice->push_back(entry); 254 issue_advice->push_back(entry);
255 } 255 }
256 256
257 if (!success) 257 if (!success)
258 issue_advice->clear(); 258 issue_advice->clear();
259 259
260 return success; 260 return success;
261 } 261 }
OLDNEW
« no previous file with comments | « google_apis/gaia/oauth2_mint_token_flow.h ('k') | google_apis/gaia/oauth2_mint_token_flow_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698