summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 07:26:59 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 07:26:59 +0000
commit71f40a766274aec0a473b4a757d85abf42ad6718 (patch)
treedb12c877f109d4c61c8fc4fc1a338ec4cf97fc89 /ppapi
parent5f5f84c60b6883dc5b3c7eaeba6c66c0ac63daca (diff)
downloadchromium_src-71f40a766274aec0a473b4a757d85abf42ad6718.zip
chromium_src-71f40a766274aec0a473b4a757d85abf42ad6718.tar.gz
chromium_src-71f40a766274aec0a473b4a757d85abf42ad6718.tar.bz2
Cleanup: Remove unneeded scoped_ptr.h includes from ppapi, printing, remoting, and sync.
BUG=none TEST=none TBR=brettw,hclam,akalin,abodenha Review URL: https://chromiumcodereview.appspot.com/10387107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137376 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/proxy/host_dispatcher.h1
-rw-r--r--ppapi/proxy/plugin_dispatcher.h1
-rw-r--r--ppapi/proxy/serialized_flash_menu.h1
-rw-r--r--ppapi/shared_impl/ppb_network_list_private_shared.h5
-rw-r--r--ppapi/shared_impl/ppb_url_request_info_shared.h2
-rw-r--r--ppapi/shared_impl/private/ppb_host_resolver_shared.cc1
-rw-r--r--ppapi/shared_impl/private/ppb_host_resolver_shared.h1
-rw-r--r--ppapi/shared_impl/var.h3
8 files changed, 6 insertions, 9 deletions
diff --git a/ppapi/proxy/host_dispatcher.h b/ppapi/proxy/host_dispatcher.h
index b43d305..70dd08a 100644
--- a/ppapi/proxy/host_dispatcher.h
+++ b/ppapi/proxy/host_dispatcher.h
@@ -10,7 +10,6 @@
#include <vector>
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/process.h"
#include "ipc/ipc_channel_proxy.h"
#include "ppapi/c/pp_instance.h"
diff --git a/ppapi/proxy/plugin_dispatcher.h b/ppapi/proxy/plugin_dispatcher.h
index 5d344e7..5022f69 100644
--- a/ppapi/proxy/plugin_dispatcher.h
+++ b/ppapi/proxy/plugin_dispatcher.h
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "base/hash_tables.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/process.h"
#include "build/build_config.h"
diff --git a/ppapi/proxy/serialized_flash_menu.h b/ppapi/proxy/serialized_flash_menu.h
index f7ad6b6..271caba 100644
--- a/ppapi/proxy/serialized_flash_menu.h
+++ b/ppapi/proxy/serialized_flash_menu.h
@@ -9,7 +9,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
#include "ppapi/proxy/ppapi_proxy_export.h"
class PickleIterator;
diff --git a/ppapi/shared_impl/ppb_network_list_private_shared.h b/ppapi/shared_impl/ppb_network_list_private_shared.h
index c15ccc3..196f386 100644
--- a/ppapi/shared_impl/ppb_network_list_private_shared.h
+++ b/ppapi/shared_impl/ppb_network_list_private_shared.h
@@ -5,10 +5,11 @@
#ifndef PPAPI_SHARED_IMPL_PPB_NETWORK_LIST_PRIVATE_SHARED_H_
#define PPAPI_SHARED_IMPL_PPB_NETWORK_LIST_PRIVATE_SHARED_H_
+#include <string>
#include <vector>
#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
+#include "base/memory/ref_counted.h"
#include "ppapi/shared_impl/resource.h"
#include "ppapi/thunk/ppb_network_list_private_api.h"
@@ -33,7 +34,7 @@ typedef std::vector<NetworkInfo> NetworkList;
class PPAPI_SHARED_EXPORT NetworkListStorage
: public base::RefCountedThreadSafe<NetworkListStorage> {
public:
- NetworkListStorage(const NetworkList& list);
+ explicit NetworkListStorage(const NetworkList& list);
const NetworkList& list() { return list_; }
diff --git a/ppapi/shared_impl/ppb_url_request_info_shared.h b/ppapi/shared_impl/ppb_url_request_info_shared.h
index 7876d23..dbad103 100644
--- a/ppapi/shared_impl/ppb_url_request_info_shared.h
+++ b/ppapi/shared_impl/ppb_url_request_info_shared.h
@@ -32,7 +32,7 @@ struct PPAPI_SHARED_EXPORT PPB_URLRequestInfo_Data {
// may still be NULL in some cases, such as deserialization errors.
//
// This is a bit tricky. In the plugin side of the proxy, both the file ref
- // and the file_ref_host_resource will be set and valid. The scoped_ptr
+ // and the file_ref_host_resource will be set and valid. The scoped_refptr
// ensures that the resource is alive for as long as the BodyItem is.
//
// When we deserialize this in the renderer, only the
diff --git a/ppapi/shared_impl/private/ppb_host_resolver_shared.cc b/ppapi/shared_impl/private/ppb_host_resolver_shared.cc
index 9a145a9..581055d 100644
--- a/ppapi/shared_impl/private/ppb_host_resolver_shared.cc
+++ b/ppapi/shared_impl/private/ppb_host_resolver_shared.cc
@@ -7,6 +7,7 @@
#include <cstddef>
#include <cstring>
+#include "base/memory/scoped_ptr.h"
#include "net/base/address_list.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/shared_impl/private/net_address_private_impl.h"
diff --git a/ppapi/shared_impl/private/ppb_host_resolver_shared.h b/ppapi/shared_impl/private/ppb_host_resolver_shared.h
index 7a5404f..d915946 100644
--- a/ppapi/shared_impl/private/ppb_host_resolver_shared.h
+++ b/ppapi/shared_impl/private/ppb_host_resolver_shared.h
@@ -10,7 +10,6 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "ppapi/shared_impl/resource.h"
#include "ppapi/shared_impl/tracked_callback.h"
#include "ppapi/thunk/ppb_host_resolver_private_api.h"
diff --git a/ppapi/shared_impl/var.h b/ppapi/shared_impl/var.h
index d8084d7..77f707c 100644
--- a/ppapi/shared_impl/var.h
+++ b/ppapi/shared_impl/var.h
@@ -9,7 +9,6 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "ppapi/c/pp_var.h"
#include "ppapi/shared_impl/ppapi_shared_export.h"
@@ -92,7 +91,7 @@ class PPAPI_SHARED_EXPORT Var : public base::RefCounted<Var> {
// DoSomethingWithTheString(string->value());
class PPAPI_SHARED_EXPORT StringVar : public Var {
public:
- StringVar(const std::string& str);
+ explicit StringVar(const std::string& str);
StringVar(const char* str, uint32 len);
virtual ~StringVar();