From 6936b7bb38083e02cd3a04f5b159206ad87f2ed9 Mon Sep 17 00:00:00 2001 From: "rvargas@google.com" Date: Fri, 23 Mar 2012 18:48:16 +0000 Subject: Disk cache. Fix style on some missing files. No real code change. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9839040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128540 0039d316-1c4b-4281-b951-d872f2087c98 --- net/disk_cache/mem_backend_impl.cc | 18 +++++++++--------- net/disk_cache/mem_backend_impl.h | 24 +++++++++++------------- 2 files changed, 20 insertions(+), 22 deletions(-) (limited to 'net') diff --git a/net/disk_cache/mem_backend_impl.cc b/net/disk_cache/mem_backend_impl.cc index 23c370d..1580da9 100644 --- a/net/disk_cache/mem_backend_impl.cc +++ b/net/disk_cache/mem_backend_impl.cc @@ -129,7 +129,7 @@ int32 MemBackendImpl::GetEntryCount() const { } int MemBackendImpl::OpenEntry(const std::string& key, Entry** entry, - const net::CompletionCallback& callback) { + const CompletionCallback& callback) { if (OpenEntry(key, entry)) return net::OK; @@ -137,7 +137,7 @@ int MemBackendImpl::OpenEntry(const std::string& key, Entry** entry, } int MemBackendImpl::CreateEntry(const std::string& key, Entry** entry, - const net::CompletionCallback& callback) { + const CompletionCallback& callback) { if (CreateEntry(key, entry)) return net::OK; @@ -145,23 +145,23 @@ int MemBackendImpl::CreateEntry(const std::string& key, Entry** entry, } int MemBackendImpl::DoomEntry(const std::string& key, - const net::CompletionCallback& callback) { + const CompletionCallback& callback) { if (DoomEntry(key)) return net::OK; return net::ERR_FAILED; } -int MemBackendImpl::DoomAllEntries(const net::CompletionCallback& callback) { +int MemBackendImpl::DoomAllEntries(const CompletionCallback& callback) { if (DoomAllEntries()) return net::OK; return net::ERR_FAILED; } -int MemBackendImpl::DoomEntriesBetween( - const base::Time initial_time, const base::Time end_time, - const net::CompletionCallback& callback) { +int MemBackendImpl::DoomEntriesBetween(const base::Time initial_time, + const base::Time end_time, + const CompletionCallback& callback) { if (DoomEntriesBetween(initial_time, end_time)) return net::OK; @@ -169,7 +169,7 @@ int MemBackendImpl::DoomEntriesBetween( } int MemBackendImpl::DoomEntriesSince(const base::Time initial_time, - const net::CompletionCallback& callback) { + const CompletionCallback& callback) { if (DoomEntriesSince(initial_time)) return net::OK; @@ -177,7 +177,7 @@ int MemBackendImpl::DoomEntriesSince(const base::Time initial_time, } int MemBackendImpl::OpenNextEntry(void** iter, Entry** next_entry, - const net::CompletionCallback& callback) { + const CompletionCallback& callback) { if (OpenNextEntry(iter, next_entry)) return net::OK; diff --git a/net/disk_cache/mem_backend_impl.h b/net/disk_cache/mem_backend_impl.h index 94308e9..0ea0799 100644 --- a/net/disk_cache/mem_backend_impl.h +++ b/net/disk_cache/mem_backend_impl.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -65,21 +65,19 @@ class NET_EXPORT_PRIVATE MemBackendImpl : public Backend { // Backend interface. virtual int32 GetEntryCount() const OVERRIDE; virtual int OpenEntry(const std::string& key, Entry** entry, - const net::CompletionCallback& callback) OVERRIDE; + const CompletionCallback& callback) OVERRIDE; virtual int CreateEntry(const std::string& key, Entry** entry, - const net::CompletionCallback& callback) OVERRIDE; + const CompletionCallback& callback) OVERRIDE; virtual int DoomEntry(const std::string& key, - const net::CompletionCallback& callback) OVERRIDE; - virtual int DoomAllEntries(const net::CompletionCallback& callback) OVERRIDE; - virtual int DoomEntriesBetween( - const base::Time initial_time, - const base::Time end_time, - const net::CompletionCallback& callback) OVERRIDE; - virtual int DoomEntriesSince( - const base::Time initial_time, - const net::CompletionCallback& callback) OVERRIDE; + const CompletionCallback& callback) OVERRIDE; + virtual int DoomAllEntries(const CompletionCallback& callback) OVERRIDE; + virtual int DoomEntriesBetween(const base::Time initial_time, + const base::Time end_time, + const CompletionCallback& callback) OVERRIDE; + virtual int DoomEntriesSince(const base::Time initial_time, + const CompletionCallback& callback) OVERRIDE; virtual int OpenNextEntry(void** iter, Entry** next_entry, - const net::CompletionCallback& callback) OVERRIDE; + const CompletionCallback& callback) OVERRIDE; virtual void EndEnumeration(void** iter) OVERRIDE; virtual void GetStats( std::vector >* stats) OVERRIDE {} -- cgit v1.1