Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Side by Side Diff: chrome/browser/net/sqlite_persistent_cookie_store.h

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // A sqlite implementation of a cookie monster persistent store. 5 // A sqlite implementation of a cookie monster persistent store.
6 6
7 #ifndef CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_ 7 #ifndef CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_
8 #define CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_ 8 #define CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_
9 #pragma once 9 #pragma once
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "app/sql/connection.h"
15 #include "app/sql/meta_table.h" 14 #include "app/sql/meta_table.h"
16 #include "base/file_path.h" 15 #include "base/file_path.h"
17 #include "base/ref_counted.h" 16 #include "base/ref_counted.h"
18 #include "net/base/cookie_monster.h" 17 #include "net/base/cookie_monster.h"
19 18
19 namespace sql {
20 class Connection;
21 }
22
20 class FilePath; 23 class FilePath;
21 24
22 class SQLitePersistentCookieStore 25 class SQLitePersistentCookieStore
23 : public net::CookieMonster::PersistentCookieStore { 26 : public net::CookieMonster::PersistentCookieStore {
24 public: 27 public:
25 explicit SQLitePersistentCookieStore(const FilePath& path); 28 explicit SQLitePersistentCookieStore(const FilePath& path);
26 ~SQLitePersistentCookieStore(); 29 ~SQLitePersistentCookieStore();
27 30
28 virtual bool Load(std::vector<net::CookieMonster::KeyedCanonicalCookie>*); 31 virtual bool Load(std::vector<net::CookieMonster::KeyedCanonicalCookie>*);
29 32
(...skipping 13 matching lines...) Expand all
43 46
44 FilePath path_; 47 FilePath path_;
45 scoped_refptr<Backend> backend_; 48 scoped_refptr<Backend> backend_;
46 49
47 sql::MetaTable meta_table_; 50 sql::MetaTable meta_table_;
48 51
49 DISALLOW_COPY_AND_ASSIGN(SQLitePersistentCookieStore); 52 DISALLOW_COPY_AND_ASSIGN(SQLitePersistentCookieStore);
50 }; 53 };
51 54
52 #endif // CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_ 55 #endif // CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/memory_details_linux.cc ('k') | chrome/browser/notifications/notification_exceptions_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698