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

Side by Side Diff: remoting/host/token_validator_factory_impl.cc

Issue 16181013: Use a direct include of strings headers in remoting/. (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
« no previous file with comments | « remoting/host/setup/win/start_host_window.cc ('k') | remoting/host/ui_strings.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "remoting/host/token_validator_factory_impl.h" 5 #include "remoting/host/token_validator_factory_impl.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/json/json_reader.h" 12 #include "base/json/json_reader.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "crypto/random.h" 18 #include "crypto/random.h"
19 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
20 #include "net/base/escape.h" 20 #include "net/base/escape.h"
21 #include "net/url_request/url_fetcher.h" 21 #include "net/url_request/url_fetcher.h"
22 #include "net/url_request/url_fetcher_delegate.h" 22 #include "net/url_request/url_fetcher_delegate.h"
23 #include "net/url_request/url_request_status.h" 23 #include "net/url_request/url_request_status.h"
24 #include "remoting/base/rsa_key_pair.h" 24 #include "remoting/base/rsa_key_pair.h"
25 25
26 namespace { 26 namespace {
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 TokenValidatorFactoryImpl::CreateTokenValidator( 182 TokenValidatorFactoryImpl::CreateTokenValidator(
183 const std::string& local_jid, 183 const std::string& local_jid,
184 const std::string& remote_jid) { 184 const std::string& remote_jid) {
185 return scoped_ptr<protocol::ThirdPartyHostAuthenticator::TokenValidator>( 185 return scoped_ptr<protocol::ThirdPartyHostAuthenticator::TokenValidator>(
186 new TokenValidatorImpl(token_url_, token_validation_url_, key_pair_, 186 new TokenValidatorImpl(token_url_, token_validation_url_, key_pair_,
187 local_jid, remote_jid, 187 local_jid, remote_jid,
188 request_context_getter_)); 188 request_context_getter_));
189 } 189 }
190 190
191 } // namespace remoting 191 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/setup/win/start_host_window.cc ('k') | remoting/host/ui_strings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698