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

Unified Diff: content/child/indexed_db/indexed_db_dispatcher_unittest.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 side-by-side diff with in-line comments
Download patch
Index: content/child/indexed_db/indexed_db_dispatcher_unittest.cc
diff --git a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
index 98f929e7322fbae01ab99d1c05172416b470fc8b..6bc4d5df4cdaea2ef325723e5cdf8b51febcfc4a 100644
--- a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
+++ b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
@@ -45,7 +45,8 @@ class MockCallbacks : public WebIDBCallbacks {
class MockDispatcher : public IndexedDBDispatcher {
public:
- MockDispatcher(ThreadSafeSender* sender) : IndexedDBDispatcher(sender) {}
+ explicit MockDispatcher(ThreadSafeSender* sender)
+ : IndexedDBDispatcher(sender) {}
virtual bool Send(IPC::Message* msg) OVERRIDE {
delete msg;
@@ -133,7 +134,8 @@ namespace {
class CursorCallbacks : public WebIDBCallbacks {
public:
- CursorCallbacks(scoped_ptr<WebIDBCursor>* cursor) : cursor_(cursor) {}
+ explicit CursorCallbacks(scoped_ptr<WebIDBCursor>* cursor)
+ : cursor_(cursor) {}
virtual void onSuccess(const WebData&,
const WebVector<WebBlobInfo>&) OVERRIDE {}
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher.cc ('k') | content/child/indexed_db/indexed_db_key_builders.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698