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

Unified Diff: public/platform/WebThreadSafeData.h

Issue 462843003: Cleanup namespace usage in public/platform/{Web[P-W]*,linux/*}.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/WebStorageQuotaCallbacks.h ('k') | public/platform/WebTransformAnimationCurve.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebThreadSafeData.h
diff --git a/public/platform/WebThreadSafeData.h b/public/platform/WebThreadSafeData.h
index b18a52e0741501b3a8881d118afb82837c686060..2b9abac517bc0b52f230265e301f9d91c7040bed 100644
--- a/public/platform/WebThreadSafeData.h
+++ b/public/platform/WebThreadSafeData.h
@@ -38,10 +38,10 @@
#include <string>
#endif
-namespace blink { class RawData; }
-
namespace blink {
+class RawData;
+
// A container for raw bytes. It is inexpensive to copy a WebThreadSafeData object.
// It is safe to pass a WebThreadSafeData across threads!!!
class WebThreadSafeData {
@@ -58,8 +58,8 @@ public:
bool isEmpty() const { return !size(); }
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebThreadSafeData(const WTF::PassRefPtr<blink::RawData>&);
- BLINK_PLATFORM_EXPORT WebThreadSafeData& operator=(const WTF::PassRefPtr<blink::RawData>&);
+ BLINK_PLATFORM_EXPORT WebThreadSafeData(const WTF::PassRefPtr<RawData>&);
+ BLINK_PLATFORM_EXPORT WebThreadSafeData& operator=(const WTF::PassRefPtr<RawData>&);
#else
operator std::string() const
{
@@ -69,7 +69,7 @@ public:
#endif
private:
- WebPrivatePtr<blink::RawData> m_private;
+ WebPrivatePtr<RawData> m_private;
};
} // namespace blink
« no previous file with comments | « public/platform/WebStorageQuotaCallbacks.h ('k') | public/platform/WebTransformAnimationCurve.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698