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

Side by Side Diff: chrome/browser/extensions/api/dial/dial_service.cc

Issue 300623008: Move NetworkTypePattern to its own file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 "chrome/browser/extensions/api/dial/dial_service.h" 5 #include "chrome/browser/extensions/api/dial/dial_service.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 11 matching lines...) Expand all
22 #include "net/base/io_buffer.h" 22 #include "net/base/io_buffer.h"
23 #include "net/base/ip_endpoint.h" 23 #include "net/base/ip_endpoint.h"
24 #include "net/base/net_errors.h" 24 #include "net/base/net_errors.h"
25 #include "net/base/net_util.h" 25 #include "net/base/net_util.h"
26 #include "net/http/http_response_headers.h" 26 #include "net/http/http_response_headers.h"
27 #include "net/http/http_util.h" 27 #include "net/http/http_util.h"
28 #include "url/gurl.h" 28 #include "url/gurl.h"
29 #if defined(OS_CHROMEOS) 29 #if defined(OS_CHROMEOS)
30 #include "chromeos/network/network_state.h" 30 #include "chromeos/network/network_state.h"
31 #include "chromeos/network/network_state_handler.h" 31 #include "chromeos/network/network_state_handler.h"
32 #include "chromeos/network/shill_property_util.h"
33 #include "third_party/cros_system_api/dbus/service_constants.h" 32 #include "third_party/cros_system_api/dbus/service_constants.h"
34 #endif 33 #endif
35 34
36 using base::Time; 35 using base::Time;
37 using base::TimeDelta; 36 using base::TimeDelta;
38 using content::BrowserThread; 37 using content::BrowserThread;
39 using net::HttpResponseHeaders; 38 using net::HttpResponseHeaders;
40 using net::HttpUtil; 39 using net::HttpUtil;
41 using net::IOBufferWithSize; 40 using net::IOBufferWithSize;
42 using net::IPAddressNumber; 41 using net::IPAddressNumber;
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 for (ScopedVector<DialSocket>::const_iterator iter = dial_sockets_.begin(); 615 for (ScopedVector<DialSocket>::const_iterator iter = dial_sockets_.begin();
617 iter != dial_sockets_.end(); 616 iter != dial_sockets_.end();
618 ++iter) { 617 ++iter) {
619 if (!((*iter)->IsClosed())) 618 if (!((*iter)->IsClosed()))
620 return true; 619 return true;
621 } 620 }
622 return false; 621 return false;
623 } 622 }
624 623
625 } // namespace extensions 624 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698