summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 01:54:15 +0000
committerlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 01:54:15 +0000
commit3b63f8f451afcf414a59c529f627c620e4d449d9 (patch)
tree2dcbab1c060b29a260c29bb19b67bf97a8293ca3 /net/base
parent9174a108509c2aafe513da68e6e63fbc7df38c85 (diff)
downloadchromium_src-3b63f8f451afcf414a59c529f627c620e4d449d9.zip
chromium_src-3b63f8f451afcf414a59c529f627c620e4d449d9.tar.gz
chromium_src-3b63f8f451afcf414a59c529f627c620e4d449d9.tar.bz2
Move some files from base to base/memory.
raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/address_list.h4
-rw-r--r--net/base/address_list_unittest.cc2
-rw-r--r--net/base/auth.h4
-rw-r--r--net/base/capturing_net_log.h6
-rw-r--r--net/base/cert_database.cc4
-rw-r--r--net/base/cert_database.h2
-rw-r--r--net/base/cert_database_nss.cc2
-rw-r--r--net/base/cert_database_nss_unittest.cc4
-rw-r--r--net/base/cert_test_util.h4
-rw-r--r--net/base/cert_verifier.h2
-rw-r--r--net/base/cookie_monster.cc2
-rw-r--r--net/base/cookie_monster.h6
-rw-r--r--net/base/cookie_monster_unittest.cc4
-rw-r--r--net/base/cookie_store.h4
-rw-r--r--net/base/crypto_module.h4
-rw-r--r--net/base/directory_lister.h2
-rw-r--r--net/base/dnsrr_resolver.cc6
-rw-r--r--net/base/dnsrr_resolver.h4
-rw-r--r--net/base/dnssec_chain_verifier.cc4
-rw-r--r--net/base/dnssec_keyset.cc4
-rw-r--r--net/base/dnssec_unittest.cc2
-rw-r--r--net/base/file_stream.h4
-rw-r--r--net/base/filter.h4
-rw-r--r--net/base/gzip_filter.h2
-rw-r--r--net/base/gzip_filter_unittest.cc2
-rw-r--r--net/base/host_cache.h4
-rw-r--r--net/base/host_resolver.h2
-rw-r--r--net/base/host_resolver_impl.h4
-rw-r--r--net/base/host_resolver_impl_unittest.cc2
-rw-r--r--net/base/host_resolver_proc.h4
-rw-r--r--net/base/io_buffer.h6
-rw-r--r--net/base/keygen_handler.h4
-rw-r--r--net/base/keygen_handler_openssl.cc4
-rw-r--r--net/base/listen_socket.h4
-rw-r--r--net/base/listen_socket_unittest.h4
-rw-r--r--net/base/mapped_host_resolver.h4
-rw-r--r--net/base/mock_host_resolver.cc4
-rw-r--r--net/base/net_log.h2
-rw-r--r--net/base/net_test_suite.h4
-rw-r--r--net/base/net_util.cc2
-rw-r--r--net/base/net_util_win.cc2
-rw-r--r--net/base/network_change_notifier_linux.h4
-rw-r--r--net/base/network_config_watcher_mac.h4
-rw-r--r--net/base/openssl_memory_private_key_store.cc4
-rw-r--r--net/base/registry_controlled_domain.cc2
-rw-r--r--net/base/scoped_cert_chain_context.h4
-rw-r--r--net/base/sdch_filter.h2
-rw-r--r--net/base/sdch_filter_unittest.cc2
-rw-r--r--net/base/sdch_manager.h4
-rw-r--r--net/base/ssl_cert_request_info.h4
-rw-r--r--net/base/ssl_client_auth_cache.h4
-rw-r--r--net/base/ssl_config_service.h4
-rw-r--r--net/base/ssl_info.h4
-rw-r--r--net/base/transport_security_state.cc4
-rw-r--r--net/base/transport_security_state.h4
-rw-r--r--net/base/upload_data.h4
-rw-r--r--net/base/upload_data_stream.h4
-rw-r--r--net/base/upload_data_stream_unittest.cc2
-rw-r--r--net/base/x509_certificate.cc2
-rw-r--r--net/base/x509_certificate.h2
-rw-r--r--net/base/x509_certificate_mac.cc2
-rw-r--r--net/base/x509_certificate_nss.cc2
-rw-r--r--net/base/x509_certificate_openssl.cc4
63 files changed, 108 insertions, 108 deletions
diff --git a/net/base/address_list.h b/net/base/address_list.h
index 2993528..0efd77f 100644
--- a/net/base/address_list.h
+++ b/net/base/address_list.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include <string>
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "net/base/net_util.h"
struct addrinfo;
diff --git a/net/base/address_list_unittest.cc b/net/base/address_list_unittest.cc
index e387f25..03417e6 100644
--- a/net/base/address_list_unittest.cc
+++ b/net/base/address_list_unittest.cc
@@ -4,7 +4,7 @@
#include "net/base/address_list.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "base/string_util.h"
#include "net/base/host_resolver_proc.h"
#include "net/base/net_util.h"
diff --git a/net/base/auth.h b/net/base/auth.h
index 908b7690..32919c8 100644
--- a/net/base/auth.h
+++ b/net/base/auth.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include <string>
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "base/string16.h"
namespace net {
diff --git a/net/base/capturing_net_log.h b/net/base/capturing_net_log.h
index a7406af..15887e5 100644
--- a/net/base/capturing_net_log.h
+++ b/net/base/capturing_net_log.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -10,8 +10,8 @@
#include "base/atomicops.h"
#include "base/basictypes.h"
-#include "base/ref_counted.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
#include "base/time.h"
#include "net/base/net_log.h"
diff --git a/net/base/cert_database.cc b/net/base/cert_database.cc
index f049aca..70e7a9b 100644
--- a/net/base/cert_database.cc
+++ b/net/base/cert_database.cc
@@ -1,11 +1,11 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/base/cert_database.h"
+#include "base/memory/singleton.h"
#include "base/observer_list_threadsafe.h"
-#include "base/singleton.h"
#include "net/base/x509_certificate.h"
namespace net {
diff --git a/net/base/cert_database.h b/net/base/cert_database.h
index dbfbcc3..c03bca9 100644
--- a/net/base/cert_database.h
+++ b/net/base/cert_database.h
@@ -10,8 +10,8 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
#include "base/string16.h"
-#include "base/ref_counted.h"
#include "net/base/cert_type.h"
namespace net {
diff --git a/net/base/cert_database_nss.cc b/net/base/cert_database_nss.cc
index f1467c3..b8a8e30 100644
--- a/net/base/cert_database_nss.cc
+++ b/net/base/cert_database_nss.cc
@@ -11,9 +11,9 @@
#include <secmod.h>
#include "base/logging.h"
+#include "base/memory/scoped_ptr.h"
#include "base/nss_util.h"
#include "base/nss_util_internal.h"
-#include "base/scoped_ptr.h"
#include "net/base/crypto_module.h"
#include "net/base/net_errors.h"
#include "net/base/x509_certificate.h"
diff --git a/net/base/cert_database_nss_unittest.cc b/net/base/cert_database_nss_unittest.cc
index 081aeb6..37d48ff 100644
--- a/net/base/cert_database_nss_unittest.cc
+++ b/net/base/cert_database_nss_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,10 +11,10 @@
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/lazy_instance.h"
+#include "base/memory/scoped_temp_dir.h"
#include "base/nss_util.h"
#include "base/nss_util_internal.h"
#include "base/path_service.h"
-#include "base/scoped_temp_dir.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "net/base/cert_database.h"
diff --git a/net/base/cert_test_util.h b/net/base/cert_test_util.h
index 3452ac5..a256e02 100644
--- a/net/base/cert_test_util.h
+++ b/net/base/cert_test_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include <string>
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
class FilePath;
diff --git a/net/base/cert_verifier.h b/net/base/cert_verifier.h
index 4483214..49491db 100644
--- a/net/base/cert_verifier.h
+++ b/net/base/cert_verifier.h
@@ -10,7 +10,7 @@
#include <string>
#include "base/basictypes.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "base/time.h"
#include "net/base/cert_verify_result.h"
diff --git a/net/base/cookie_monster.cc b/net/base/cookie_monster.cc
index 2c9d110..09bee76 100644
--- a/net/base/cookie_monster.cc
+++ b/net/base/cookie_monster.cc
@@ -49,9 +49,9 @@
#include "base/basictypes.h"
#include "base/format_macros.h"
#include "base/logging.h"
+#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "base/metrics/histogram.h"
-#include "base/scoped_ptr.h"
#include "base/string_tokenizer.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
diff --git a/net/base/cookie_monster.h b/net/base/cookie_monster.h
index 026af8c..440b38a 100644
--- a/net/base/cookie_monster.h
+++ b/net/base/cookie_monster.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -15,8 +15,8 @@
#include "base/basictypes.h"
#include "base/gtest_prod_util.h"
-#include "base/ref_counted.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
#include "base/task.h"
#include "base/time.h"
diff --git a/net/base/cookie_monster_unittest.cc b/net/base/cookie_monster_unittest.cc
index 07dccfd..d56c8a1 100644
--- a/net/base/cookie_monster_unittest.cc
+++ b/net/base/cookie_monster_unittest.cc
@@ -7,10 +7,10 @@
#include <string>
#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "base/metrics/histogram.h"
-#include "base/ref_counted.h"
-#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
#include "base/threading/platform_thread.h"
diff --git a/net/base/cookie_store.h b/net/base/cookie_store.h
index 3976169..7d64ee8 100644
--- a/net/base/cookie_store.h
+++ b/net/base/cookie_store.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,7 +12,7 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "base/time.h"
#include "net/base/cookie_options.h"
diff --git a/net/base/crypto_module.h b/net/base/crypto_module.h
index d02bb71..5fc8946 100644
--- a/net/base/crypto_module.h
+++ b/net/base/crypto_module.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,7 +9,7 @@
#include <string>
#include <vector>
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#if defined(USE_NSS)
typedef struct PK11SlotInfoStr PK11SlotInfo;
diff --git a/net/base/directory_lister.h b/net/base/directory_lister.h
index b0e524f..dbcb4f5 100644
--- a/net/base/directory_lister.h
+++ b/net/base/directory_lister.h
@@ -10,7 +10,7 @@
#include "base/file_path.h"
#include "base/file_util.h"
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "base/synchronization/cancellation_flag.h"
#include "base/task.h"
#include "base/threading/platform_thread.h"
diff --git a/net/base/dnsrr_resolver.cc b/net/base/dnsrr_resolver.cc
index cb1a54f..b07df69 100644
--- a/net/base/dnsrr_resolver.cc
+++ b/net/base/dnsrr_resolver.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,9 +12,9 @@
#include <windns.h>
#endif
+#include "base/memory/scoped_ptr.h"
+#include "base/memory/singleton.h"
#include "base/message_loop.h"
-#include "base/scoped_ptr.h"
-#include "base/singleton.h"
#include "base/stl_util-inl.h"
#include "base/string_piece.h"
#include "base/synchronization/lock.h"
diff --git a/net/base/dnsrr_resolver.h b/net/base/dnsrr_resolver.h
index a9ff84b..ab86d87 100644
--- a/net/base/dnsrr_resolver.h
+++ b/net/base/dnsrr_resolver.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,7 +12,7 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "base/threading/non_thread_safe.h"
#include "base/time.h"
#include "build/build_config.h"
diff --git a/net/base/dnssec_chain_verifier.cc b/net/base/dnssec_chain_verifier.cc
index c79efa8..a915686 100644
--- a/net/base/dnssec_chain_verifier.cc
+++ b/net/base/dnssec_chain_verifier.cc
@@ -1,11 +1,11 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/base/dnssec_chain_verifier.h"
#include "base/logging.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "base/sha1.h"
#include "base/sha2.h"
#include "base/string_util.h"
diff --git a/net/base/dnssec_keyset.cc b/net/base/dnssec_keyset.cc
index 2f46c23..29dfc86 100644
--- a/net/base/dnssec_keyset.cc
+++ b/net/base/dnssec_keyset.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,8 +9,8 @@
#include <keyhi.h>
#include "base/logging.h"
+#include "base/memory/scoped_ptr.h"
#include "base/nss_util.h"
-#include "base/scoped_ptr.h"
#include "base/time.h"
#include "net/base/dns_util.h"
diff --git a/net/base/dnssec_unittest.cc b/net/base/dnssec_unittest.cc
index 6d19057..e2c666b 100644
--- a/net/base/dnssec_unittest.cc
+++ b/net/base/dnssec_unittest.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
#include "base/logging.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "net/base/dns_util.h"
#include "net/base/dnssec_chain_verifier.h"
#include "net/base/dnssec_keyset.h"
diff --git a/net/base/file_stream.h b/net/base/file_stream.h
index 52e9ce9..8c8ea8c 100644
--- a/net/base/file_stream.h
+++ b/net/base/file_stream.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,8 +11,8 @@
#define NET_BASE_FILE_STREAM_H_
#pragma once
+#include "base/memory/scoped_ptr.h"
#include "base/platform_file.h"
-#include "base/scoped_ptr.h"
#include "net/base/completion_callback.h"
class FilePath;
diff --git a/net/base/filter.h b/net/base/filter.h
index b158d59..561c8db 100644
--- a/net/base/filter.h
+++ b/net/base/filter.h
@@ -35,8 +35,8 @@
#include "base/basictypes.h"
#include "base/gtest_prod_util.h"
-#include "base/ref_counted.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/time.h"
class GURL;
diff --git a/net/base/gzip_filter.h b/net/base/gzip_filter.h
index 2b4de11..6da6338 100644
--- a/net/base/gzip_filter.h
+++ b/net/base/gzip_filter.h
@@ -17,7 +17,7 @@
#pragma once
#include "base/basictypes.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "net/base/filter.h"
typedef struct z_stream_s z_stream;
diff --git a/net/base/gzip_filter_unittest.cc b/net/base/gzip_filter_unittest.cc
index aaf3187..2753701 100644
--- a/net/base/gzip_filter_unittest.cc
+++ b/net/base/gzip_filter_unittest.cc
@@ -12,8 +12,8 @@
#endif
#include "base/file_util.h"
+#include "base/memory/scoped_ptr.h"
#include "base/path_service.h"
-#include "base/scoped_ptr.h"
#include "net/base/gzip_filter.h"
#include "net/base/mock_filter_context.h"
#include "net/base/io_buffer.h"
diff --git a/net/base/host_cache.h b/net/base/host_cache.h
index 11ab1f3..d39db61 100644
--- a/net/base/host_cache.h
+++ b/net/base/host_cache.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -10,7 +10,7 @@
#include <string>
#include "base/gtest_prod_util.h"
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "base/threading/non_thread_safe.h"
#include "base/time.h"
#include "net/base/address_family.h"
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h
index da3816e..f16c265 100644
--- a/net/base/host_resolver.h
+++ b/net/base/host_resolver.h
@@ -8,7 +8,7 @@
#include <string>
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "googleurl/src/gurl.h"
#include "net/base/address_family.h"
#include "net/base/completion_callback.h"
diff --git a/net/base/host_resolver_impl.h b/net/base/host_resolver_impl.h
index 89d4f46..54e0b9e 100644
--- a/net/base/host_resolver_impl.h
+++ b/net/base/host_resolver_impl.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include <vector>
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "net/base/capturing_net_log.h"
#include "net/base/host_cache.h"
diff --git a/net/base/host_resolver_impl_unittest.cc b/net/base/host_resolver_impl_unittest.cc
index 01c32f7..1093cdc 100644
--- a/net/base/host_resolver_impl_unittest.cc
+++ b/net/base/host_resolver_impl_unittest.cc
@@ -7,8 +7,8 @@
#include <string>
#include "base/compiler_specific.h"
+#include "base/memory/ref_counted.h"
#include "base/message_loop.h"
-#include "base/ref_counted.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
#include "net/base/address_list.h"
diff --git a/net/base/host_resolver_proc.h b/net/base/host_resolver_proc.h
index f20d71a..56259fa 100644
--- a/net/base/host_resolver_proc.h
+++ b/net/base/host_resolver_proc.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include <string>
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "net/base/address_family.h"
namespace net {
diff --git a/net/base/io_buffer.h b/net/base/io_buffer.h
index 527864b..a747ead 100644
--- a/net/base/io_buffer.h
+++ b/net/base/io_buffer.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,9 +8,9 @@
#include <string>
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/pickle.h"
-#include "base/ref_counted.h"
-#include "base/scoped_ptr.h"
namespace net {
diff --git a/net/base/keygen_handler.h b/net/base/keygen_handler.h
index 817720d..4dd7bbf 100644
--- a/net/base/keygen_handler.h
+++ b/net/base/keygen_handler.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include <string>
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "build/build_config.h"
#include "googleurl/src/gurl.h"
diff --git a/net/base/keygen_handler_openssl.cc b/net/base/keygen_handler_openssl.cc
index 73aabd7..0bfa734 100644
--- a/net/base/keygen_handler_openssl.cc
+++ b/net/base/keygen_handler_openssl.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,8 +8,8 @@
#include "base/crypto/rsa_private_key.h"
#include "base/logging.h"
+#include "base/memory/scoped_ptr.h"
#include "base/openssl_util.h"
-#include "base/scoped_ptr.h"
#include "net/base/openssl_private_key_store.h"
namespace net {
diff --git a/net/base/listen_socket.h b/net/base/listen_socket.h
index 086705e..ad77b19 100644
--- a/net/base/listen_socket.h
+++ b/net/base/listen_socket.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -25,7 +25,7 @@
#endif
#include "base/basictypes.h"
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#if defined(OS_POSIX)
struct event; // From libevent
diff --git a/net/base/listen_socket_unittest.h b/net/base/listen_socket_unittest.h
index f54fc31..aaf9341 100644
--- a/net/base/listen_socket_unittest.h
+++ b/net/base/listen_socket_unittest.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -17,8 +17,8 @@
#endif
#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
-#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "base/synchronization/condition_variable.h"
#include "base/synchronization/lock.h"
diff --git a/net/base/mapped_host_resolver.h b/net/base/mapped_host_resolver.h
index 0f84f6a..5ca5223 100644
--- a/net/base/mapped_host_resolver.h
+++ b/net/base/mapped_host_resolver.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include <string>
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "net/base/host_mapping_rules.h"
#include "net/base/host_resolver.h"
diff --git a/net/base/mock_host_resolver.cc b/net/base/mock_host_resolver.cc
index 7af6ba4..1f1c4cd 100644
--- a/net/base/mock_host_resolver.cc
+++ b/net/base/mock_host_resolver.cc
@@ -1,12 +1,12 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/base/mock_host_resolver.h"
+#include "base/memory/ref_counted.h"
#include "base/string_split.h"
#include "base/string_util.h"
-#include "base/ref_counted.h"
#include "base/threading/platform_thread.h"
#include "net/base/net_errors.h"
#include "net/base/net_util.h"
diff --git a/net/base/net_log.h b/net/base/net_log.h
index 4946c76a..3df804a 100644
--- a/net/base/net_log.h
+++ b/net/base/net_log.h
@@ -10,7 +10,7 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
class Value;
diff --git a/net/base/net_test_suite.h b/net/base/net_test_suite.h
index 274d067..98c5bd5 100644
--- a/net/base/net_test_suite.h
+++ b/net/base/net_test_suite.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,7 +6,7 @@
#define NET_BASE_NET_TEST_SUITE_H_
#pragma once
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "base/test/test_suite.h"
#include "build/build_config.h"
#include "net/base/mock_host_resolver.h"
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index 959ee29..2123a0b 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -38,10 +38,10 @@
#include "base/i18n/time_formatting.h"
#include "base/json/string_escape.h"
#include "base/logging.h"
+#include "base/memory/singleton.h"
#include "base/message_loop.h"
#include "base/metrics/histogram.h"
#include "base/path_service.h"
-#include "base/singleton.h"
#include "base/stl_util-inl.h"
#include "base/string_number_conversions.h"
#include "base/string_piece.h"
diff --git a/net/base/net_util_win.cc b/net/base/net_util_win.cc
index ee6a5af..0455dab 100644
--- a/net/base/net_util_win.cc
+++ b/net/base/net_util_win.cc
@@ -9,7 +9,7 @@
#include <algorithm>
#include "base/file_path.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "base/string_piece.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
diff --git a/net/base/network_change_notifier_linux.h b/net/base/network_change_notifier_linux.h
index 9344616..2a4b20b 100644
--- a/net/base/network_change_notifier_linux.h
+++ b/net/base/network_change_notifier_linux.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,7 +7,7 @@
#pragma once
#include "base/basictypes.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "net/base/network_change_notifier.h"
namespace net {
diff --git a/net/base/network_config_watcher_mac.h b/net/base/network_config_watcher_mac.h
index 3bd55f9..5193a98 100644
--- a/net/base/network_config_watcher_mac.h
+++ b/net/base/network_config_watcher_mac.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -10,7 +10,7 @@
#include "base/basictypes.h"
#include "base/message_loop.h"
#include "base/mac/scoped_cftyperef.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
namespace base {
class Thread;
diff --git a/net/base/openssl_memory_private_key_store.cc b/net/base/openssl_memory_private_key_store.cc
index 5572b67..2d42e3e 100644
--- a/net/base/openssl_memory_private_key_store.cc
+++ b/net/base/openssl_memory_private_key_store.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,8 +9,8 @@
#include "net/base/openssl_private_key_store.h"
#include "base/logging.h"
+#include "base/memory/singleton.h"
#include "base/openssl_util.h"
-#include "base/singleton.h"
#include "base/synchronization/lock.h"
#include "net/base/x509_certificate.h"
diff --git a/net/base/registry_controlled_domain.cc b/net/base/registry_controlled_domain.cc
index d01b3d1..e8bc423 100644
--- a/net/base/registry_controlled_domain.cc
+++ b/net/base/registry_controlled_domain.cc
@@ -40,7 +40,7 @@
#include "net/base/registry_controlled_domain.h"
#include "base/logging.h"
-#include "base/singleton.h"
+#include "base/memory/singleton.h"
#include "base/string_util.h"
#include "googleurl/src/gurl.h"
#include "googleurl/src/url_parse.h"
diff --git a/net/base/scoped_cert_chain_context.h b/net/base/scoped_cert_chain_context.h
index af60dd3..668e46e 100644
--- a/net/base/scoped_cert_chain_context.h
+++ b/net/base/scoped_cert_chain_context.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,7 +9,7 @@
#include <windows.h>
#include <wincrypt.h>
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
namespace net {
diff --git a/net/base/sdch_filter.h b/net/base/sdch_filter.h
index 33aa46e..1ed6077 100644
--- a/net/base/sdch_filter.h
+++ b/net/base/sdch_filter.h
@@ -17,7 +17,7 @@
#include <string>
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "net/base/filter.h"
#include "net/base/sdch_manager.h"
diff --git a/net/base/sdch_filter_unittest.cc b/net/base/sdch_filter_unittest.cc
index 44b7f62..9c97f86 100644
--- a/net/base/sdch_filter_unittest.cc
+++ b/net/base/sdch_filter_unittest.cc
@@ -15,7 +15,7 @@
#endif
#include "base/logging.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "net/base/filter.h"
#include "net/base/io_buffer.h"
#include "net/base/mock_filter_context.h"
diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h
index b37e4ad..4649c41 100644
--- a/net/base/sdch_manager.h
+++ b/net/base/sdch_manager.h
@@ -26,8 +26,8 @@
#include <string>
#include "base/gtest_prod_util.h"
-#include "base/ref_counted.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/time.h"
#include "googleurl/src/gurl.h"
diff --git a/net/base/ssl_cert_request_info.h b/net/base/ssl_cert_request_info.h
index a180ed9..cbff862 100644
--- a/net/base/ssl_cert_request_info.h
+++ b/net/base/ssl_cert_request_info.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,7 +9,7 @@
#include <string>
#include <vector>
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
namespace net {
diff --git a/net/base/ssl_client_auth_cache.h b/net/base/ssl_client_auth_cache.h
index 6cc1d12..d66d727 100644
--- a/net/base/ssl_client_auth_cache.h
+++ b/net/base/ssl_client_auth_cache.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,7 +9,7 @@
#include <string>
#include <map>
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "net/base/cert_database.h"
namespace net {
diff --git a/net/base/ssl_config_service.h b/net/base/ssl_config_service.h
index 413d076..e0879ed 100644
--- a/net/base/ssl_config_service.h
+++ b/net/base/ssl_config_service.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,8 +9,8 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
#include "base/observer_list.h"
-#include "base/ref_counted.h"
#include "net/base/x509_certificate.h"
namespace net {
diff --git a/net/base/ssl_info.h b/net/base/ssl_info.h
index 4c68f06..1a85919 100644
--- a/net/base/ssl_info.h
+++ b/net/base/ssl_info.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,7 +6,7 @@
#define NET_BASE_SSL_INFO_H_
#pragma once
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
namespace net {
diff --git a/net/base/transport_security_state.cc b/net/base/transport_security_state.cc
index c067b68..e61c8d2 100644
--- a/net/base/transport_security_state.cc
+++ b/net/base/transport_security_state.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/logging.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "base/sha2.h"
#include "base/string_number_conversions.h"
#include "base/string_tokenizer.h"
diff --git a/net/base/transport_security_state.h b/net/base/transport_security_state.h
index 05061ca..18bf51c 100644
--- a/net/base/transport_security_state.h
+++ b/net/base/transport_security_state.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,7 +11,7 @@
#include "base/basictypes.h"
#include "base/gtest_prod_util.h"
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "base/time.h"
namespace net {
diff --git a/net/base/upload_data.h b/net/base/upload_data.h
index b9cc864..7ef0750 100644
--- a/net/base/upload_data.h
+++ b/net/base/upload_data.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,7 +11,7 @@
#include "base/basictypes.h"
#include "base/file_path.h"
#include "base/gtest_prod_util.h"
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "googleurl/src/gurl.h"
#include "base/time.h"
diff --git a/net/base/upload_data_stream.h b/net/base/upload_data_stream.h
index decc3f6..30c17c2 100644
--- a/net/base/upload_data_stream.h
+++ b/net/base/upload_data_stream.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,7 +6,7 @@
#define NET_BASE_UPLOAD_DATA_STREAM_H_
#pragma once
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "net/base/upload_data.h"
namespace net {
diff --git a/net/base/upload_data_stream_unittest.cc b/net/base/upload_data_stream_unittest.cc
index 5f5cc6c..4a648f3 100644
--- a/net/base/upload_data_stream_unittest.cc
+++ b/net/base/upload_data_stream_unittest.cc
@@ -9,7 +9,7 @@
#include "base/basictypes.h"
#include "base/file_path.h"
#include "base/file_util.h"
-#include "base/scoped_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "base/time.h"
#include "net/base/net_errors.h"
#include "net/base/upload_data.h"
diff --git a/net/base/x509_certificate.cc b/net/base/x509_certificate.cc
index 6c73b48..089bf096 100644
--- a/net/base/x509_certificate.cc
+++ b/net/base/x509_certificate.cc
@@ -10,8 +10,8 @@
#include "base/lazy_instance.h"
#include "base/logging.h"
+#include "base/memory/singleton.h"
#include "base/metrics/histogram.h"
-#include "base/singleton.h"
#include "base/string_piece.h"
#include "base/string_util.h"
#include "base/time.h"
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h
index 818e96c..52bb9f1 100644
--- a/net/base/x509_certificate.h
+++ b/net/base/x509_certificate.h
@@ -12,7 +12,7 @@
#include <vector>
#include "base/gtest_prod_util.h"
-#include "base/ref_counted.h"
+#include "base/memory/ref_counted.h"
#include "base/string_piece.h"
#include "base/time.h"
#include "net/base/x509_cert_types.h"
diff --git a/net/base/x509_certificate_mac.cc b/net/base/x509_certificate_mac.cc
index bc19399..4cecb50 100644
--- a/net/base/x509_certificate_mac.cc
+++ b/net/base/x509_certificate_mac.cc
@@ -14,9 +14,9 @@
#include "base/crypto/rsa_private_key.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
+#include "base/memory/singleton.h"
#include "base/nss_util.h"
#include "base/pickle.h"
-#include "base/singleton.h"
#include "base/mac/scoped_cftyperef.h"
#include "base/sys_string_conversions.h"
#include "net/base/cert_status_flags.h"
diff --git a/net/base/x509_certificate_nss.cc b/net/base/x509_certificate_nss.cc
index 7cc7ac9..d71381a 100644
--- a/net/base/x509_certificate_nss.cc
+++ b/net/base/x509_certificate_nss.cc
@@ -18,8 +18,8 @@
#include "base/crypto/rsa_private_key.h"
#include "base/logging.h"
+#include "base/memory/scoped_ptr.h"
#include "base/pickle.h"
-#include "base/scoped_ptr.h"
#include "base/time.h"
#include "base/nss_util.h"
#include "net/base/cert_status_flags.h"
diff --git a/net/base/x509_certificate_openssl.cc b/net/base/x509_certificate_openssl.cc
index 6e82300..0d2c12e 100644
--- a/net/base/x509_certificate_openssl.cc
+++ b/net/base/x509_certificate_openssl.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -13,9 +13,9 @@
#include <openssl/ssl.h>
#include <openssl/x509v3.h>
+#include "base/memory/singleton.h"
#include "base/openssl_util.h"
#include "base/pickle.h"
-#include "base/singleton.h"
#include "base/string_number_conversions.h"
#include "net/base/cert_status_flags.h"
#include "net/base/cert_verify_result.h"