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

Side by Side Diff: cloud_print/service/win/service_state.cc

Issue 10543020: Temporary revert "Single binary for unittests." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 "cloud_print/service/service_state.h" 5 #include "cloud_print/service/win/service_state.h"
6 6
7 #include "base/json/json_reader.h" 7 #include "base/json/json_reader.h"
8 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "net/base/escape.h" 13 #include "net/base/escape.h"
14 #include "net/base/io_buffer.h" 14 #include "net/base/io_buffer.h"
15 #include "net/url_request/url_request.h" 15 #include "net/url_request/url_request.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 const std::string& proxy_id) { 202 const std::string& proxy_id) {
203 robot_token_.clear(); 203 robot_token_.clear();
204 robot_email_.clear(); 204 robot_email_.clear();
205 email_ = email; 205 email_ = email;
206 proxy_id_ = proxy_id; 206 proxy_id_ = proxy_id;
207 auth_token_ = LoginToGoogle("cloudprint", email_, password); 207 auth_token_ = LoginToGoogle("cloudprint", email_, password);
208 xmpp_auth_token_ = LoginToGoogle("chromiumsync", email_, password); 208 xmpp_auth_token_ = LoginToGoogle("chromiumsync", email_, password);
209 return IsValid(); 209 return IsValid();
210 } 210 }
211 211
OLDNEW
« no previous file with comments | « cloud_print/service/win/service_state.h ('k') | cloud_print/service/win/service_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698