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

Side by Side Diff: public/platform/WebCString.h

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « public/platform/WebBlobRegistry.h ('k') | public/platform/WebCallbacks.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 #endif 39 #endif
40 #if !INSIDE_BLINK || defined(UNIT_TEST) 40 #if !INSIDE_BLINK || defined(UNIT_TEST)
41 #include <string> 41 #include <string>
42 #endif 42 #endif
43 43
44 namespace WTF { 44 namespace WTF {
45 class CString; 45 class CString;
46 class CStringBuffer; 46 class CStringBuffer;
47 } 47 }
48 48
49 namespace WebKit { 49 namespace blink {
50 50
51 class WebString; 51 class WebString;
52 52
53 // A single-byte string container with unspecified encoding. It is 53 // A single-byte string container with unspecified encoding. It is
54 // inexpensive to copy a WebCString object. 54 // inexpensive to copy a WebCString object.
55 // 55 //
56 // WARNING: It is not safe to pass a WebCString across threads!!! 56 // WARNING: It is not safe to pass a WebCString across threads!!!
57 // 57 //
58 class WebCString { 58 class WebCString {
59 public: 59 public:
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 private: 124 private:
125 BLINK_COMMON_EXPORT void assign(WTF::CStringBuffer*); 125 BLINK_COMMON_EXPORT void assign(WTF::CStringBuffer*);
126 WebPrivatePtr<WTF::CStringBuffer> m_private; 126 WebPrivatePtr<WTF::CStringBuffer> m_private;
127 }; 127 };
128 128
129 inline bool operator<(const WebCString& a, const WebCString& b) 129 inline bool operator<(const WebCString& a, const WebCString& b)
130 { 130 {
131 return a.compare(b) < 0; 131 return a.compare(b) < 0;
132 } 132 }
133 133
134 } // namespace WebKit 134 } // namespace blink
135 135
136 #endif 136 #endif
OLDNEW
« no previous file with comments | « public/platform/WebBlobRegistry.h ('k') | public/platform/WebCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698