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

Side by Side Diff: third_party/WebKit/public/platform/modules/indexeddb/WebIDBKey.h

Issue 2385233002: reflow comments in public/platform/{bluetooth,indexeddb} (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 21 matching lines...) Expand all
32 #include "public/platform/WebString.h" 32 #include "public/platform/WebString.h"
33 #include "public/platform/WebVector.h" 33 #include "public/platform/WebVector.h"
34 #include "public/platform/modules/indexeddb/WebIDBTypes.h" 34 #include "public/platform/modules/indexeddb/WebIDBTypes.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class IDBKey; 38 class IDBKey;
39 39
40 class WebIDBKey { 40 class WebIDBKey {
41 public: 41 public:
42 // Please use one of the factory methods. This is public only to allow WebVect or. 42 // Please use one of the factory methods. This is public only to allow
43 // WebVector.
43 WebIDBKey() {} 44 WebIDBKey() {}
44 ~WebIDBKey() { reset(); } 45 ~WebIDBKey() { reset(); }
45 46
46 BLINK_EXPORT static WebIDBKey createArray(const WebVector<WebIDBKey>&); 47 BLINK_EXPORT static WebIDBKey createArray(const WebVector<WebIDBKey>&);
47 BLINK_EXPORT static WebIDBKey createBinary(const WebData&); 48 BLINK_EXPORT static WebIDBKey createBinary(const WebData&);
48 BLINK_EXPORT static WebIDBKey createString(const WebString&); 49 BLINK_EXPORT static WebIDBKey createString(const WebString&);
49 BLINK_EXPORT static WebIDBKey createDate(double); 50 BLINK_EXPORT static WebIDBKey createDate(double);
50 BLINK_EXPORT static WebIDBKey createNumber(double); 51 BLINK_EXPORT static WebIDBKey createNumber(double);
51 BLINK_EXPORT static WebIDBKey createInvalid(); 52 BLINK_EXPORT static WebIDBKey createInvalid();
52 BLINK_EXPORT static WebIDBKey createNull(); 53 BLINK_EXPORT static WebIDBKey createNull();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 operator IDBKey*() const { return m_private.get(); } 90 operator IDBKey*() const { return m_private.get(); }
90 #endif 91 #endif
91 92
92 private: 93 private:
93 WebPrivatePtr<IDBKey> m_private; 94 WebPrivatePtr<IDBKey> m_private;
94 }; 95 };
95 96
96 } // namespace blink 97 } // namespace blink
97 98
98 #endif // WebIDBKey_h 99 #endif // WebIDBKey_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698