summaryrefslogtreecommitdiffstats
path: root/webkit/appcache
diff options
context:
space:
mode:
authordpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-30 00:28:14 +0000
committerdpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-30 00:28:14 +0000
commit03ff5e59b44cc3ad7bfc80e01af2d8bf53dcc34b (patch)
tree4890392665cbbec1941db05fa7b1ed68d9b79c46 /webkit/appcache
parent1347570839022dfc6b51ad0580352a7585b21562 (diff)
downloadchromium_src-03ff5e59b44cc3ad7bfc80e01af2d8bf53dcc34b.zip
chromium_src-03ff5e59b44cc3ad7bfc80e01af2d8bf53dcc34b.tar.gz
chromium_src-03ff5e59b44cc3ad7bfc80e01af2d8bf53dcc34b.tar.bz2
Here are more exports needed for content_unittests to link in the component build.
R=jam@chromium.org, darin@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/8054037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache')
-rw-r--r--webkit/appcache/appcache.h5
-rw-r--r--webkit/appcache/appcache_database.h3
-rw-r--r--webkit/appcache/appcache_group.h8
-rw-r--r--webkit/appcache/appcache_storage_impl.h3
4 files changed, 12 insertions, 7 deletions
diff --git a/webkit/appcache/appcache.h b/webkit/appcache/appcache.h
index ca86740..fb7a90e 100644
--- a/webkit/appcache/appcache.h
+++ b/webkit/appcache/appcache.h
@@ -15,6 +15,7 @@
#include "googleurl/src/gurl.h"
#include "webkit/appcache/appcache_database.h"
#include "webkit/appcache/appcache_entry.h"
+#include "webkit/appcache/appcache_export.h"
#include "webkit/appcache/manifest_parser.h"
namespace appcache {
@@ -31,7 +32,7 @@ class AppCache : public base::RefCounted<AppCache> {
typedef std::map<GURL, AppCacheEntry> EntryMap;
typedef std::set<AppCacheHost*> AppCacheHosts;
- AppCache(AppCacheService *service, int64 cache_id);
+ APPCACHE_EXPORT AppCache(AppCacheService *service, int64 cache_id);
int64 cache_id() const { return cache_id_; }
@@ -43,7 +44,7 @@ class AppCache : public base::RefCounted<AppCache> {
AppCacheService* service() const { return service_; }
// Adds a new entry. Entry must not already be in cache.
- void AddEntry(const GURL& url, const AppCacheEntry& entry);
+ void APPCACHE_EXPORT AddEntry(const GURL& url, const AppCacheEntry& entry);
// Adds a new entry or modifies an existing entry by merging the types
// of the new entry with the existing entry. Returns true if a new entry
diff --git a/webkit/appcache/appcache_database.h b/webkit/appcache/appcache_database.h
index c19b6db..7e2dc3f 100644
--- a/webkit/appcache/appcache_database.h
+++ b/webkit/appcache/appcache_database.h
@@ -15,6 +15,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/time.h"
#include "googleurl/src/gurl.h"
+#include "webkit/appcache/appcache_export.h"
namespace sql {
class Connection;
@@ -179,7 +180,7 @@ class AppCacheDatabase {
const sql::Statement& statement, OnlineWhiteListRecord* record);
// Database creation
- bool LazyOpen(bool create_if_needed);
+ APPCACHE_EXPORT bool LazyOpen(bool create_if_needed);
bool EnsureDatabaseVersion();
bool CreateSchema();
bool UpgradeSchema();
diff --git a/webkit/appcache/appcache_group.h b/webkit/appcache/appcache_group.h
index 236b43d..3dd87bf 100644
--- a/webkit/appcache/appcache_group.h
+++ b/webkit/appcache/appcache_group.h
@@ -14,6 +14,7 @@
#include "base/observer_list.h"
#include "base/task.h"
#include "base/time.h"
+#include "webkit/appcache/appcache_export.h"
#include "googleurl/src/gurl.h"
namespace appcache {
@@ -42,8 +43,9 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> {
DOWNLOADING,
};
- AppCacheGroup(AppCacheService* service, const GURL& manifest_url,
- int64 group_id);
+ APPCACHE_EXPORT AppCacheGroup(AppCacheService* service,
+ const GURL& manifest_url,
+ int64 group_id);
// Adds/removes an update observer, the AppCacheGroup does not take
// ownership of the observer.
@@ -62,7 +64,7 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> {
AppCache* newest_complete_cache() const { return newest_complete_cache_; }
- void AddCache(AppCache* complete_cache);
+ APPCACHE_EXPORT void AddCache(AppCache* complete_cache);
void RemoveCache(AppCache* cache);
bool HasCache() const { return newest_complete_cache_ != NULL; }
diff --git a/webkit/appcache/appcache_storage_impl.h b/webkit/appcache/appcache_storage_impl.h
index dee3bed..3e7b0da 100644
--- a/webkit/appcache/appcache_storage_impl.h
+++ b/webkit/appcache/appcache_storage_impl.h
@@ -15,6 +15,7 @@
#include "base/task.h"
#include "webkit/appcache/appcache_database.h"
#include "webkit/appcache/appcache_disk_cache.h"
+#include "webkit/appcache/appcache_export.h"
#include "webkit/appcache/appcache_storage.h"
namespace appcache {
@@ -119,7 +120,7 @@ class AppCacheStorageImpl : public AppCacheStorage {
const GURL& fallback_url, const AppCacheEntry& fallback_entry,
int64 cache_id, const GURL& manifest_url);
- AppCacheDiskCache* disk_cache();
+ APPCACHE_EXPORT AppCacheDiskCache* disk_cache();
// The directory in which we place files in the file system.
FilePath cache_directory_;