| Index: chrome/browser/net/sqlite_persistent_cookie_store.cc
|
| diff --git a/chrome/browser/net/sqlite_persistent_cookie_store.cc b/chrome/browser/net/sqlite_persistent_cookie_store.cc
|
| index 0216b40db46bc6c9a860a2d0f4c4c25fba2d70eb..a098c44a4b4196806415eafe3c947eef2bdd3da5 100644
|
| --- a/chrome/browser/net/sqlite_persistent_cookie_store.cc
|
| +++ b/chrome/browser/net/sqlite_persistent_cookie_store.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 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.
|
|
|
| @@ -9,6 +9,7 @@
|
| #include "app/sql/statement.h"
|
| #include "app/sql/transaction.h"
|
| #include "base/basictypes.h"
|
| +#include "base/file_util.h"
|
| #include "base/logging.h"
|
| #include "base/ref_counted.h"
|
| #include "base/scoped_ptr.h"
|
| @@ -444,3 +445,9 @@ void SQLitePersistentCookieStore::DeleteCookie(
|
| if (backend_.get())
|
| backend_->DeleteCookie(cc);
|
| }
|
| +
|
| +// static
|
| +void SQLitePersistentCookieStore::ClearLocalState(
|
| + const FilePath& path) {
|
| + file_util::Delete(path, false);
|
| +}
|
|
|