summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/eviction.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-01 17:08:20 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-01 17:08:20 +0000
commit601858c0f72ea9693a4796fe6b48558efde46ed7 (patch)
treef9102a4e748ce2f2257f86a748ba6ecfb7087141 /net/disk_cache/eviction.cc
parenta0709c0dafd07a463a1e9b3553554a0be6cec862 (diff)
downloadchromium_src-601858c0f72ea9693a4796fe6b48558efde46ed7.zip
chromium_src-601858c0f72ea9693a4796fe6b48558efde46ed7.tar.gz
chromium_src-601858c0f72ea9693a4796fe6b48558efde46ed7.tar.bz2
FBTF: Move more ctors/dtors from headers to implementation.
- Adding/Moving dtors of objects that have CancelableRequestConsumers shaves three megs off browser.a. - Adding/Moving dtors of objects that have ScopedRunnableMethodFactories only shaved 100k off browser.a/renderer.a. - Adding/Moving dtors of objects that used some form of base::*Timer<> was negligible; there were only a few classes that had a Timer but had a ctor/dtor in the header after the previous cleanups. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3278006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/eviction.cc')
-rw-r--r--net/disk_cache/eviction.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/disk_cache/eviction.cc b/net/disk_cache/eviction.cc
index 8da01ae..da7577c 100644
--- a/net/disk_cache/eviction.cc
+++ b/net/disk_cache/eviction.cc
@@ -28,6 +28,7 @@
#include "net/disk_cache/eviction.h"
+#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/string_util.h"
@@ -58,6 +59,15 @@ int LowWaterAdjust(int high_water) {
namespace disk_cache {
+Eviction::Eviction()
+ : backend_(NULL),
+ init_(false),
+ ALLOW_THIS_IN_INITIALIZER_LIST(factory_(this)) {
+}
+
+Eviction::~Eviction() {
+}
+
void Eviction::Init(BackendImpl* backend) {
// We grab a bunch of info from the backend to make the code a little cleaner
// when we're actually doing work.