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

Unified Diff: net/tools/balsa/simple_buffer.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: net/tools/balsa/simple_buffer.h
diff --git a/net/tools/balsa/simple_buffer.h b/net/tools/balsa/simple_buffer.h
index a550617824027aa8b8db5e1a363d02665f42c0b3..3218ee7597ebc81dbaaf404c70bdf8ccf98ec5d9 100644
--- a/net/tools/balsa/simple_buffer.h
+++ b/net/tools/balsa/simple_buffer.h
@@ -20,8 +20,8 @@ class SimpleBuffer : public BufferInterface {
std::string str() const;
- typedef char * iterator;
- typedef const char * const_iterator;
+ typedef char* iterator;
+ typedef const char* const_iterator;
iterator begin() { return storage_ + read_idx_; }
const_iterator begin() const { return storage_ + read_idx_; }
@@ -41,9 +41,9 @@ class SimpleBuffer : public BufferInterface {
virtual int Write(const char* bytes, int size) OVERRIDE;
- virtual void GetWritablePtr(char **ptr, int* size) const OVERRIDE;
+ virtual void GetWritablePtr(char** ptr, int* size) const OVERRIDE;
- virtual void GetReadablePtr(char **ptr, int* size) const OVERRIDE;
+ virtual void GetReadablePtr(char** ptr, int* size) const OVERRIDE;
virtual int Read(char* bytes, int size) OVERRIDE;
@@ -84,7 +84,7 @@ class SimpleBuffer : public BufferInterface {
int storage_size_;
private:
- //DISALLOW_COPY_AND_ASSIGN(SimpleBuffer);
+ // DISALLOW_COPY_AND_ASSIGN(SimpleBuffer);
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698