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

Side by Side Diff: content/browser/indexed_db/indexed_db_callbacks.h

Issue 405433007: IndexedDB: Fix coding style issues c/o cpplint.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // IndexedDBCursor::Continue / Advance 77 // IndexedDBCursor::Continue / Advance
78 virtual void OnSuccess(const IndexedDBKey& key, 78 virtual void OnSuccess(const IndexedDBKey& key,
79 const IndexedDBKey& primary_key, 79 const IndexedDBKey& primary_key,
80 IndexedDBValue* value); 80 IndexedDBValue* value);
81 81
82 // IndexedDBCursor::PrefetchContinue 82 // IndexedDBCursor::PrefetchContinue
83 virtual void OnSuccessWithPrefetch( 83 virtual void OnSuccessWithPrefetch(
84 const std::vector<IndexedDBKey>& keys, 84 const std::vector<IndexedDBKey>& keys,
85 const std::vector<IndexedDBKey>& primary_keys, 85 const std::vector<IndexedDBKey>& primary_keys,
86 std::vector<IndexedDBValue>& values); 86 std::vector<IndexedDBValue>* values);
87 87
88 // IndexedDBDatabase::Get (with key injection) 88 // IndexedDBDatabase::Get (with key injection)
89 virtual void OnSuccess(IndexedDBValue* value, 89 virtual void OnSuccess(IndexedDBValue* value,
90 const IndexedDBKey& key, 90 const IndexedDBKey& key,
91 const IndexedDBKeyPath& key_path); 91 const IndexedDBKeyPath& key_path);
92 92
93 // IndexedDBDatabase::Get 93 // IndexedDBDatabase::Get
94 virtual void OnSuccess(IndexedDBValue* value); 94 virtual void OnSuccess(IndexedDBValue* value);
95 95
96 // IndexedDBDatabase::Put / IndexedDBCursor::Update 96 // IndexedDBDatabase::Put / IndexedDBCursor::Update
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 std::string data_loss_message_; 134 std::string data_loss_message_;
135 135
136 // The "blocked" event should be sent at most once per request. 136 // The "blocked" event should be sent at most once per request.
137 bool sent_blocked_; 137 bool sent_blocked_;
138 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks); 138 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks);
139 }; 139 };
140 140
141 } // namespace content 141 } // namespace content
142 142
143 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ 143 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_browsertest.cc ('k') | content/browser/indexed_db/indexed_db_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698