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

Side by Side Diff: net/proxy/network_delegate_error_observer.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/proxy/network_delegate_error_observer.h ('k') | net/proxy/polling_proxy_config_service.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "net/proxy/network_delegate_error_observer.h" 5 #include "net/proxy/network_delegate_error_observer.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/macros.h"
9 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
10 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
11 #include "net/base/network_delegate.h" 12 #include "net/base/network_delegate.h"
12 13
13 namespace net { 14 namespace net {
14 15
15 // NetworkDelegateErrorObserver::Core ----------------------------------------- 16 // NetworkDelegateErrorObserver::Core -----------------------------------------
16 17
17 class NetworkDelegateErrorObserver::Core 18 class NetworkDelegateErrorObserver::Core
18 : public base::RefCountedThreadSafe<NetworkDelegateErrorObserver::Core> { 19 : public base::RefCountedThreadSafe<NetworkDelegateErrorObserver::Core> {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 new NetworkDelegateErrorObserver(network_delegate, origin_runner.get())); 83 new NetworkDelegateErrorObserver(network_delegate, origin_runner.get()));
83 } 84 }
84 85
85 void NetworkDelegateErrorObserver::OnPACScriptError( 86 void NetworkDelegateErrorObserver::OnPACScriptError(
86 int line_number, 87 int line_number,
87 const base::string16& error) { 88 const base::string16& error) {
88 core_->NotifyPACScriptError(line_number, error); 89 core_->NotifyPACScriptError(line_number, error);
89 } 90 }
90 91
91 } // namespace net 92 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/network_delegate_error_observer.h ('k') | net/proxy/polling_proxy_config_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698