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

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

Issue 16632010: Use a direct include of strings headers in extensions/, google_apis/, gpu/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 "google_apis/gaia/google_service_auth_error.h" 5 #include "google_apis/gaia/google_service_auth_error.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 15
16 GoogleServiceAuthError::Captcha::Captcha() : image_width(0), image_height(0) { 16 GoogleServiceAuthError::Captcha::Captcha() : image_width(0), image_height(0) {
17 } 17 }
18 18
19 GoogleServiceAuthError::Captcha::Captcha( 19 GoogleServiceAuthError::Captcha::Captcha(
20 const std::string& token, const GURL& audio, const GURL& img, 20 const std::string& token, const GURL& audio, const GURL& img,
21 const GURL& unlock, int width, int height) 21 const GURL& unlock, int width, int height)
22 : token(token), audio_url(audio), image_url(img), unlock_url(unlock), 22 : token(token), audio_url(audio), image_url(img), unlock_url(unlock),
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 GoogleServiceAuthError::GoogleServiceAuthError( 233 GoogleServiceAuthError::GoogleServiceAuthError(
234 State s, 234 State s,
235 const std::string& captcha_token, 235 const std::string& captcha_token,
236 const std::string& prompt_text, 236 const std::string& prompt_text,
237 const std::string& alternate_text, 237 const std::string& alternate_text,
238 int field_length) 238 int field_length)
239 : state_(s), 239 : state_(s),
240 second_factor_(captcha_token, prompt_text, alternate_text, field_length), 240 second_factor_(captcha_token, prompt_text, alternate_text, field_length),
241 network_error_(0) { 241 network_error_(0) {
242 } 242 }
OLDNEW
« no previous file with comments | « google_apis/gaia/gaia_oauth_client_unittest.cc ('k') | google_apis/gaia/oauth2_access_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698