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

Unified Diff: public/platform/WebData.h

Issue 457353002: Cleanup namespace usage in public/platform/Web[A-M]*.h. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/WebCursorInfo.h ('k') | public/platform/WebDragData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebData.h
diff --git a/public/platform/WebData.h b/public/platform/WebData.h
index 5630c71d162cd4a494b1f62abc7b0907dc9cf4b5..528a2e0afe0726d2200feaa7171b38abd43af86e 100644
--- a/public/platform/WebData.h
+++ b/public/platform/WebData.h
@@ -34,10 +34,9 @@
#include "WebCommon.h"
#include "WebPrivatePtr.h"
-namespace blink { class SharedBuffer; }
-
namespace blink {
+class SharedBuffer;
class WebDataPrivate;
// A container for raw bytes. It is inexpensive to copy a WebData object.
@@ -80,9 +79,9 @@ public:
bool isNull() const { return m_private.isNull(); }
#if INSIDE_BLINK
- WebData(const PassRefPtr<blink::SharedBuffer>&);
- WebData& operator=(const PassRefPtr<blink::SharedBuffer>&);
- operator PassRefPtr<blink::SharedBuffer>() const;
+ WebData(const PassRefPtr<SharedBuffer>&);
+ WebData& operator=(const PassRefPtr<SharedBuffer>&);
+ operator PassRefPtr<SharedBuffer>() const;
#else
template <class C>
WebData(const C& c)
@@ -99,7 +98,7 @@ public:
#endif
private:
- WebPrivatePtr<blink::SharedBuffer> m_private;
+ WebPrivatePtr<SharedBuffer> m_private;
};
} // namespace blink
« no previous file with comments | « public/platform/WebCursorInfo.h ('k') | public/platform/WebDragData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698