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

Side by Side Diff: content/child/indexed_db/webidbdatabase_impl.cc

Issue 311263014: IndexedDB: Fix trivial cpplint.py errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "content/child/indexed_db/webidbdatabase_impl.h" 5 #include "content/child/indexed_db/webidbdatabase_impl.h"
6 6
7 #include <string>
7 #include <vector> 8 #include <vector>
8 9
9 #include "content/child/indexed_db/indexed_db_dispatcher.h" 10 #include "content/child/indexed_db/indexed_db_dispatcher.h"
10 #include "content/child/indexed_db/indexed_db_key_builders.h" 11 #include "content/child/indexed_db/indexed_db_key_builders.h"
11 #include "content/child/thread_safe_sender.h" 12 #include "content/child/thread_safe_sender.h"
12 #include "content/child/worker_task_runner.h" 13 #include "content/child/worker_task_runner.h"
13 #include "content/common/indexed_db/indexed_db_messages.h" 14 #include "content/common/indexed_db/indexed_db_messages.h"
14 #include "third_party/WebKit/public/platform/WebBlobInfo.h" 15 #include "third_party/WebKit/public/platform/WebBlobInfo.h"
15 #include "third_party/WebKit/public/platform/WebIDBKeyPath.h" 16 #include "third_party/WebKit/public/platform/WebIDBKeyPath.h"
16 #include "third_party/WebKit/public/platform/WebIDBMetadata.h" 17 #include "third_party/WebKit/public/platform/WebIDBMetadata.h"
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 293
293 void WebIDBDatabaseImpl::ackReceivedBlobs(const WebVector<WebString>& uuids) { 294 void WebIDBDatabaseImpl::ackReceivedBlobs(const WebVector<WebString>& uuids) {
294 DCHECK(uuids.size()); 295 DCHECK(uuids.size());
295 std::vector<std::string> param(uuids.size()); 296 std::vector<std::string> param(uuids.size());
296 for (size_t i = 0; i < uuids.size(); ++i) 297 for (size_t i = 0; i < uuids.size(); ++i)
297 param[i] = uuids[i].latin1().data(); 298 param[i] = uuids[i].latin1().data();
298 thread_safe_sender_->Send(new IndexedDBHostMsg_AckReceivedBlobs(param)); 299 thread_safe_sender_->Send(new IndexedDBHostMsg_AckReceivedBlobs(param));
299 } 300 }
300 301
301 } // namespace content 302 } // namespace content
OLDNEW
« no previous file with comments | « content/child/indexed_db/webidbdatabase_impl.h ('k') | content/child/indexed_db/webidbfactory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698