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

Issue 6969077: net: Add NET_API to net/base (Closed)

Created:
9 years, 7 months ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
Reviewers:
brettw, wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Randy Smith (Not in Mondays), brettw-cc_chromium.org
Visibility:
Public.

Description

net: Add NET_API to net/base BUG=76997 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85785

Patch Set 1 #

Total comments: 17

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -254 lines) Patch
M base/compiler_specific.h View 1 2 3 2 chunks +14 lines, -0 lines 4 comments Download
M base/threading/non_thread_safe.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M base/win/object_watcher.h View 1 chunk +1 line, -1 line 0 comments Download
M net/base/address_list.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/asn1_util.h View 2 chunks +3 lines, -2 lines 0 comments Download
M net/base/auth.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/base/backoff_entry.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M net/base/capturing_net_log.h View 2 chunks +4 lines, -3 lines 0 comments Download
M net/base/cert_database.h View 4 chunks +4 lines, -3 lines 0 comments Download
M net/base/cert_verifier.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M net/base/cert_verify_result.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M net/base/cookie_monster.h View 4 chunks +4 lines, -3 lines 0 comments Download
M net/base/cookie_store.h View 2 chunks +3 lines, -2 lines 0 comments Download
M net/base/data_url.h View 3 chunks +4 lines, -2 lines 0 comments Download
M net/base/directory_lister.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/dns_util.h View 3 chunks +5 lines, -4 lines 0 comments Download
M net/base/dnsrr_resolver.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M net/base/dnssec_chain_verifier.h View 3 chunks +3 lines, -2 lines 0 comments Download
M net/base/dnssec_keyset.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/base/escape.h View 4 chunks +24 lines, -21 lines 0 comments Download
M net/base/file_stream.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/filter.h View 3 chunks +3 lines, -2 lines 0 comments Download
M net/base/host_cache.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M net/base/host_mapping_rules.h View 2 chunks +3 lines, -2 lines 0 comments Download
M net/base/host_port_pair.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M net/base/host_resolver.h View 3 chunks +5 lines, -4 lines 0 comments Download
M net/base/host_resolver_impl.h View 1 2 chunks +5 lines, -3 lines 0 comments Download
M net/base/host_resolver_proc.h View 3 chunks +8 lines, -6 lines 0 comments Download
M net/base/io_buffer.h View 7 chunks +8 lines, -7 lines 0 comments Download
M net/base/ip_endpoint.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/keygen_handler.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/listen_socket.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M net/base/mapped_host_resolver.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/mime_sniffer.h View 4 chunks +7 lines, -5 lines 0 comments Download
M net/base/mime_util.h View 2 chunks +29 lines, -25 lines 0 comments Download
M net/base/mock_host_resolver.h View 6 chunks +6 lines, -5 lines 0 comments Download
M net/base/net_log.h View 6 chunks +7 lines, -5 lines 0 comments Download
M net/base/net_module.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/net_util.h View 16 chunks +82 lines, -78 lines 0 comments Download
M net/base/network_change_notifier.h View 1 3 chunks +4 lines, -5 lines 0 comments Download
M net/base/pem_tokenizer.h View 3 chunks +3 lines, -2 lines 0 comments Download
M net/base/registry_controlled_domain.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/sdch_filter.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/sdch_manager.h View 3 chunks +3 lines, -2 lines 0 comments Download
M net/base/ssl_cert_request_info.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/ssl_cipher_suite_names.h View 3 chunks +9 lines, -6 lines 0 comments Download
M net/base/ssl_client_auth_cache.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/ssl_config_service.h View 3 chunks +6 lines, -4 lines 0 comments Download
M net/base/ssl_config_service_defaults.h View 3 chunks +3 lines, -2 lines 0 comments Download
M net/base/ssl_false_start_blacklist.h View 3 chunks +3 lines, -2 lines 0 comments Download
M net/base/ssl_info.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/static_cookie_policy.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/base/test_root_certs.h View 3 chunks +3 lines, -2 lines 0 comments Download
M net/base/transport_security_state.h View 3 chunks +3 lines, -2 lines 0 comments Download
M net/base/upload_data.h View 4 chunks +5 lines, -4 lines 0 comments Download
M net/base/upload_data_stream.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M net/base/winsock_init.h View 2 chunks +4 lines, -2 lines 0 comments Download
M net/base/x509_cert_types.h View 1 4 chunks +4 lines, -3 lines 0 comments Download
M net/base/x509_certificate.h View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
rvargas (doing something else)
9 years, 7 months ago (2011-05-13 22:26:11 UTC) #1
wtc
LGTM. Thanks! High-Level Comments 1. Please try to find a better solution for MSVC warning ...
9 years, 7 months ago (2011-05-16 20:55:17 UTC) #2
rvargas (doing something else)
I added compiler_specific.h to the CL, and defined a new macro , please see if ...
9 years, 7 months ago (2011-05-16 22:41:55 UTC) #3
wtc
LGTM. Thanks! http://codereview.chromium.org/6969077/diff/1/net/base/host_mapping_rules.h File net/base/host_mapping_rules.h (right): http://codereview.chromium.org/6969077/diff/1/net/base/host_mapping_rules.h#newcode18 net/base/host_mapping_rules.h:18: class NET_TEST HostMappingRules { Thank you for ...
9 years, 7 months ago (2011-05-16 23:07:13 UTC) #4
rvargas (doing something else)
Brett, could you look at the files from base?
9 years, 7 months ago (2011-05-17 21:11:06 UTC) #5
brettw
Base LGTM http://codereview.chromium.org/6969077/diff/13012/base/compiler_specific.h File base/compiler_specific.h (right): http://codereview.chromium.org/6969077/diff/13012/base/compiler_specific.h#newcode62 base/compiler_specific.h:62: // Class EXPORT_API Foo : NON_EXPORTED_BASE(public Bar) ...
9 years, 7 months ago (2011-05-18 06:06:18 UTC) #6
rvargas (doing something else)
9 years, 7 months ago (2011-05-18 18:13:48 UTC) #7
Thanks.

http://codereview.chromium.org/6969077/diff/13012/base/compiler_specific.h
File base/compiler_specific.h (right):

http://codereview.chromium.org/6969077/diff/13012/base/compiler_specific.h#ne...
base/compiler_specific.h:62: // Class EXPORT_API Foo : NON_EXPORTED_BASE(public
Bar) {
On 2011/05/18 06:06:18, brettw wrote:
> Did you mean "Class" to be lower-case?

Yes, fixed.

http://codereview.chromium.org/6969077/diff/13012/base/compiler_specific.h#ne...
base/compiler_specific.h:66: //
http://msdn.microsoft.com/en-us/library/3c594ae3(VS.80).aspx
On 2011/05/18 06:06:18, brettw wrote:
> Your URL doesn't seem to talk about C4275. I searched and found this page, is
it
> the right one?
> http://msdn.microsoft.com/en-us/library/3tdb471s%28VS.80%29.aspx
> 
> It might also be good to mention that you need to be very careful if you have
> static data in the base class, and to see the article for more.

I added this to the comment:
// Note that this is intended to be used only when no access to the base class
// can be gained through the derived class. For more info, see
// http://msdn.microsoft.com/en-us/library/3tdb471s(VS.80).aspx

Powered by Google App Engine
This is Rietveld 408576698