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

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

Issue 10988004: Revert 158366 - Cleanups in Chromoting Host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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/desktop_process.cc ('k') | remoting/host/heartbeat_sender.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
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 "remoting/host/dns_blackhole_checker.h" 5 #include "remoting/host/dns_blackhole_checker.h"
6 6
7 #include "googleurl/src/gurl.h" 7 #include "googleurl/src/gurl.h"
8 #include "net/url_request/url_fetcher.h" 8 #include "net/url_request/url_fetcher.h"
9 #include "remoting/host/chromoting_host_context.h" 9 #include "remoting/host/chromoting_host_context.h"
10 #include "remoting/host/constants.h"
10 11
11 namespace remoting { 12 namespace remoting {
12 13
13 // Default prefix added to the base talkgadget URL. 14 // Default prefix added to the base talkgadget URL.
14 const char kDefaultHostTalkGadgetPrefix[] = "chromoting-host"; 15 const char kDefaultHostTalkGadgetPrefix[] = "chromoting-host";
15 16
16 // The base talkgadget URL. 17 // The base talkgadget URL.
17 const char kTalkGadgetUrl[] = ".talkgadget.google.com/talkgadget/" 18 const char kTalkGadgetUrl[] = ".talkgadget.google.com/talkgadget/"
18 "oauth/chrome-remote-desktop-host"; 19 "oauth/chrome-remote-desktop-host";
19 20
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 url_fetcher_.reset(net::URLFetcher::Create(GURL(talkgadget_url), 61 url_fetcher_.reset(net::URLFetcher::Create(GURL(talkgadget_url),
61 net::URLFetcher::GET, this)); 62 net::URLFetcher::GET, this));
62 url_fetcher_->SetRequestContext(context_->url_request_context_getter()); 63 url_fetcher_->SetRequestContext(context_->url_request_context_getter());
63 url_fetcher_->Start(); 64 url_fetcher_->Start();
64 } else { 65 } else {
65 LOG(INFO) << "Pending connection check"; 66 LOG(INFO) << "Pending connection check";
66 } 67 }
67 } 68 }
68 69
69 } // namespace remoting 70 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/desktop_process.cc ('k') | remoting/host/heartbeat_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698