summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-23 18:48:16 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-23 18:48:16 +0000
commit6936b7bb38083e02cd3a04f5b159206ad87f2ed9 (patch)
tree1f1d122a6b2c2bdf5ec6f3376b205209764928a7 /net
parentaac43c7ad67acfa78f5a053ae95a1817c955e0ff (diff)
downloadchromium_src-6936b7bb38083e02cd3a04f5b159206ad87f2ed9.zip
chromium_src-6936b7bb38083e02cd3a04f5b159206ad87f2ed9.tar.gz
chromium_src-6936b7bb38083e02cd3a04f5b159206ad87f2ed9.tar.bz2
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
Diffstat (limited to 'net')
-rw-r--r--net/disk_cache/mem_backend_impl.cc18
-rw-r--r--net/disk_cache/mem_backend_impl.h24
2 files changed, 20 insertions, 22 deletions
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<std::pair<std::string, std::string> >* stats) OVERRIDE {}