Skip to content

Commit

Permalink
delete the levelDB storage implementation.
Browse files Browse the repository at this point in the history
BUG=NONE

Review-Url: https://codereview.chromium.org/1999443003
Cr-Commit-Position: refs/heads/master@{#395371}
  • Loading branch information
bburns authored and Commit bot committed May 23, 2016
1 parent 84044bf commit 344bb7e
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 692 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "components/offline_pages/offline_page_feature.h"
#include "components/offline_pages/offline_page_item.h"
#include "components/offline_pages/offline_page_model.h"
#include "components/offline_pages/proto/offline_pages.pb.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
#include "jni/OfflinePageBridge_jni.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "components/keyed_service/content/browser_context_dependency_manager.h"
#include "components/offline_pages/offline_page_metadata_store_sql.h"
#include "components/offline_pages/offline_page_model.h"
#include "components/offline_pages/proto/offline_pages.pb.h"
#include "content/public/browser/browser_thread.h"

namespace offline_pages {
Expand Down
17 changes: 0 additions & 17 deletions components/offline_pages.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
'../net/net.gyp:net',
'../url/url.gyp:url_lib',
'../sql/sql.gyp:sql',
'../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
'components.gyp:leveldb_proto',
'keyed_service_core',
'offline_pages_proto',
],
'sources': [
'offline_pages/archive_manager.cc',
Expand All @@ -34,8 +31,6 @@
'offline_pages/offline_page_item.h',
'offline_pages/offline_page_metadata_store.cc',
'offline_pages/offline_page_metadata_store.h',
'offline_pages/offline_page_metadata_store_impl.cc',
'offline_pages/offline_page_metadata_store_impl.h',
'offline_pages/offline_page_model.cc',
'offline_pages/offline_page_model.h',
'offline_pages/offline_page_storage_manager.cc',
Expand Down Expand Up @@ -94,18 +89,6 @@
'offline_pages/offline_page_test_store.cc',
],
},
{
# Protobuf compiler / generator for the offline page item protocol buffer.
# GN version: //components/offline_pages/proto
'target_name': 'offline_pages_proto',
'type': 'static_library',
'sources': [ 'offline_pages/proto/offline_pages.proto', ],
'variables': {
'proto_in_dir': 'offline_pages/proto',
'proto_out_dir': 'components/offline_pages/proto',
},
'includes': [ '../build/protoc.gypi', ],
},
],
'conditions': [
['OS == "android"', {
Expand Down
7 changes: 0 additions & 7 deletions components/offline_pages/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ static_library("offline_pages") {
"offline_page_item.h",
"offline_page_metadata_store.cc",
"offline_page_metadata_store.h",
"offline_page_metadata_store_impl.cc",
"offline_page_metadata_store_impl.h",
"offline_page_metadata_store_sql.cc",
"offline_page_metadata_store_sql.h",
"offline_page_model.cc",
Expand All @@ -37,11 +35,8 @@ static_library("offline_pages") {
"//base",
"//components/bookmarks/browser",
"//components/keyed_service/core",
"//components/leveldb_proto",
"//components/offline_pages/proto:offline_pages_proto",
"//net",
"//sql:sql",
"//third_party/leveldatabase",
"//url",
]
}
Expand Down Expand Up @@ -93,8 +88,6 @@ source_set("unit_tests") {
":test_support",
"//base",
"//base/test:test_support",
"//components/leveldb_proto",
"//components/offline_pages/proto:offline_pages_proto",
"//testing/gtest",
"//url",
]
Expand Down
2 changes: 0 additions & 2 deletions components/offline_pages/DEPS
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
include_rules = [
"+components/keyed_service",
"+components/leveldb_proto",
"+components/version_info",
"+net",
"+sql",
"+third_party/leveldatabase",
]
1 change: 0 additions & 1 deletion components/offline_pages/offline_page_item.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include "components/offline_pages/offline_page_item.h"

#include "components/offline_pages/proto/offline_pages.pb.h"
#include "net/base/filename_util.h"

namespace offline_pages {
Expand Down
Loading

0 comments on commit 344bb7e

Please sign in to comment.