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

Side by Side Diff: content/browser/indexed_db/indexed_db_backing_store.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "content/browser/indexed_db/indexed_db_backing_store.h" 5 #include "content/browser/indexed_db/indexed_db_backing_store.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
(...skipping 14 matching lines...) Expand all
25 #include "content/browser/indexed_db/leveldb/leveldb_comparator.h" 25 #include "content/browser/indexed_db/leveldb/leveldb_comparator.h"
26 #include "content/browser/indexed_db/leveldb/leveldb_database.h" 26 #include "content/browser/indexed_db/leveldb/leveldb_database.h"
27 #include "content/browser/indexed_db/leveldb/leveldb_factory.h" 27 #include "content/browser/indexed_db/leveldb/leveldb_factory.h"
28 #include "content/browser/indexed_db/leveldb/leveldb_iterator.h" 28 #include "content/browser/indexed_db/leveldb/leveldb_iterator.h"
29 #include "content/browser/indexed_db/leveldb/leveldb_transaction.h" 29 #include "content/browser/indexed_db/leveldb/leveldb_transaction.h"
30 #include "content/common/indexed_db/indexed_db_key.h" 30 #include "content/common/indexed_db/indexed_db_key.h"
31 #include "content/common/indexed_db/indexed_db_key_path.h" 31 #include "content/common/indexed_db/indexed_db_key_path.h"
32 #include "content/common/indexed_db/indexed_db_key_range.h" 32 #include "content/common/indexed_db/indexed_db_key_range.h"
33 #include "content/public/browser/browser_thread.h" 33 #include "content/public/browser/browser_thread.h"
34 #include "net/url_request/url_request_context.h" 34 #include "net/url_request/url_request_context.h"
35 #include "storage/browser/blob/blob_data_handle.h"
36 #include "storage/browser/fileapi/file_stream_writer.h"
37 #include "storage/browser/fileapi/file_writer_delegate.h"
38 #include "storage/browser/fileapi/local_file_stream_writer.h"
35 #include "storage/common/database/database_identifier.h" 39 #include "storage/common/database/database_identifier.h"
36 #include "third_party/WebKit/public/platform/WebIDBTypes.h" 40 #include "third_party/WebKit/public/platform/WebIDBTypes.h"
37 #include "third_party/WebKit/public/web/WebSerializedScriptValueVersion.h" 41 #include "third_party/WebKit/public/web/WebSerializedScriptValueVersion.h"
38 #include "third_party/leveldatabase/env_chromium.h" 42 #include "third_party/leveldatabase/env_chromium.h"
39 #include "webkit/browser/blob/blob_data_handle.h"
40 #include "webkit/browser/fileapi/file_stream_writer.h"
41 #include "webkit/browser/fileapi/file_writer_delegate.h"
42 #include "webkit/browser/fileapi/local_file_stream_writer.h"
43 43
44 using base::FilePath; 44 using base::FilePath;
45 using base::StringPiece; 45 using base::StringPiece;
46 using storage::FileWriterDelegate; 46 using storage::FileWriterDelegate;
47 47
48 namespace content { 48 namespace content {
49 49
50 namespace { 50 namespace {
51 51
52 FilePath GetBlobDirectoryName(const FilePath& pathBase, int64 database_id) { 52 FilePath GetBlobDirectoryName(const FilePath& pathBase, int64 database_id) {
(...skipping 4241 matching lines...) Expand 10 before | Expand all | Expand 10 after
4294 int64_t size, 4294 int64_t size,
4295 base::Time last_modified) 4295 base::Time last_modified)
4296 : is_file_(true), 4296 : is_file_(true),
4297 file_path_(file_path), 4297 file_path_(file_path),
4298 key_(key), 4298 key_(key),
4299 size_(size), 4299 size_(size),
4300 last_modified_(last_modified) { 4300 last_modified_(last_modified) {
4301 } 4301 }
4302 4302
4303 } // namespace content 4303 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store.h ('k') | content/browser/indexed_db/indexed_db_backing_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698