summaryrefslogtreecommitdiffstats
path: root/net/cookies
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-06 09:40:16 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-06 09:40:16 +0000
commit46fadfdbbc627b0002df90c702032030e6dc50f2 (patch)
tree6148779094fc12880579ecc7cf67bfd768970a41 /net/cookies
parentef8175fff059f8e32ee103df3f348f4e515c7e80 (diff)
downloadchromium_src-46fadfdbbc627b0002df90c702032030e6dc50f2.zip
chromium_src-46fadfdbbc627b0002df90c702032030e6dc50f2.tar.gz
chromium_src-46fadfdbbc627b0002df90c702032030e6dc50f2.tar.bz2
Linux/ChromeOS Chromium style checker cleanup, net/ edition.
Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 Review URL: https://chromiumcodereview.appspot.com/12223022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180944 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/cookies')
-rw-r--r--net/cookies/cookie_monster_unittest.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/net/cookies/cookie_monster_unittest.cc b/net/cookies/cookie_monster_unittest.cc
index 439f4c8..8be6923 100644
--- a/net/cookies/cookie_monster_unittest.cc
+++ b/net/cookies/cookie_monster_unittest.cc
@@ -1810,24 +1810,25 @@ class FlushablePersistentStore : public CookieMonster::PersistentCookieStore {
public:
FlushablePersistentStore() : flush_count_(0) {}
- void Load(const LoadedCallback& loaded_callback) {
+ virtual void Load(const LoadedCallback& loaded_callback) OVERRIDE {
std::vector<CanonicalCookie*> out_cookies;
MessageLoop::current()->PostTask(FROM_HERE,
base::Bind(&net::LoadedCallbackTask::Run,
new net::LoadedCallbackTask(loaded_callback, out_cookies)));
}
- void LoadCookiesForKey(const std::string& key,
- const LoadedCallback& loaded_callback) {
+ virtual void LoadCookiesForKey(
+ const std::string& key,
+ const LoadedCallback& loaded_callback) OVERRIDE {
Load(loaded_callback);
}
- void AddCookie(const CanonicalCookie&) {}
- void UpdateCookieAccessTime(const CanonicalCookie&) {}
- void DeleteCookie(const CanonicalCookie&) {}
- void SetForceKeepSessionState() {}
+ virtual void AddCookie(const CanonicalCookie&) OVERRIDE {}
+ virtual void UpdateCookieAccessTime(const CanonicalCookie&) OVERRIDE {}
+ virtual void DeleteCookie(const CanonicalCookie&) OVERRIDE {}
+ virtual void SetForceKeepSessionState() OVERRIDE {}
- void Flush(const base::Closure& callback) {
+ virtual void Flush(const base::Closure& callback) OVERRIDE {
++flush_count_;
if (!callback.is_null())
callback.Run();