Skip to content

Commit

Permalink
Lint/Comment fixes in webkit/fileapi
Browse files Browse the repository at this point in the history
* Remove unnecessary / unused code
* Add include
* Fix indentation
* Fix comments

BUG=none
TBR=tzik@chromium.org

Review URL: https://chromiumcodereview.appspot.com/11192053

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162680 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
kinuko@chromium.org committed Oct 18, 2012
1 parent bcded8d commit 8c86005
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 0 additions & 2 deletions webkit/fileapi/local_file_system_test_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ LocalFileSystemTestOriginHelper::ComputeCurrentDirectoryDatabaseUsage() const {
LocalFileSystemOperation* LocalFileSystemTestOriginHelper::NewOperation() {
DCHECK(file_system_context_.get());
DCHECK(file_util_);
scoped_ptr<FileSystemOperationContext> operation_context(
NewOperationContext());
LocalFileSystemOperation* operation = static_cast<LocalFileSystemOperation*>(
file_system_context_->CreateFileSystemOperation(
CreateURL(FilePath()), NULL));
Expand Down
8 changes: 5 additions & 3 deletions webkit/fileapi/syncable/local_file_change_tracker_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "webkit/fileapi/syncable/local_file_change_tracker.h"

#include <set>

#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
Expand All @@ -27,9 +29,9 @@ namespace fileapi {
class LocalFileChangeTrackerTest : public testing::Test {
public:
LocalFileChangeTrackerTest()
: message_loop_(MessageLoop::TYPE_IO),
file_system_(GURL("http://example.com"), "test",
base::MessageLoopProxy::current()) {}
: message_loop_(MessageLoop::TYPE_IO),
file_system_(GURL("http://example.com"), "test",
base::MessageLoopProxy::current()) {}

virtual void SetUp() OVERRIDE {
file_system_.SetUp();
Expand Down
5 changes: 3 additions & 2 deletions webkit/fileapi/syncable/local_file_sync_context_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@
#include "webkit/fileapi/syncable/sync_status_code.h"
#include "webkit/fileapi/syncable/syncable_file_system_util.h"

// This tests SyncableContext behavior in multi-thread /
// This tests LocalFileSyncContext behavior in multi-thread /
// multi-file-system-context environment.
// Basic combined tests (single-thread / single-file-system-context)
// that involve SyncableContext are also in syncable_file_system_unittests.cc.
// that involve LocalFileSyncContext are also in
// syncable_file_system_unittests.cc.

namespace fileapi {

Expand Down

0 comments on commit 8c86005

Please sign in to comment.