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

Side by Side Diff: content/browser/media/webrtc_identity_store_backend.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/media/webrtc_identity_store_backend.h" 5 #include "content/browser/media/webrtc_identity_store_backend.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
12 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
13 #include "sql/error_delegate_util.h" 13 #include "sql/error_delegate_util.h"
14 #include "sql/statement.h" 14 #include "sql/statement.h"
15 #include "sql/transaction.h" 15 #include "sql/transaction.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 #include "webkit/browser/quota/special_storage_policy.h" 17 #include "storage/browser/quota/special_storage_policy.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 static const char* kWebRTCIdentityStoreDBName = "webrtc_identity_store"; 21 static const char* kWebRTCIdentityStoreDBName = "webrtc_identity_store";
22 22
23 static const base::FilePath::CharType kWebRTCIdentityStoreDirectory[] = 23 static const base::FilePath::CharType kWebRTCIdentityStoreDirectory[] =
24 FILE_PATH_LITERAL("WebRTCIdentityStore"); 24 FILE_PATH_LITERAL("WebRTCIdentityStore");
25 25
26 // Initializes the identity table, returning true on success. 26 // Initializes the identity table, returning true on success.
27 static bool InitDB(sql::Connection* db) { 27 static bool InitDB(sql::Connection* db) {
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 NOTREACHED(); 594 NOTREACHED();
595 break; 595 break;
596 } 596 }
597 } 597 }
598 598
599 if (!transaction.Commit()) 599 if (!transaction.Commit())
600 DVLOG(2) << "Failed to commit the transaction."; 600 DVLOG(2) << "Failed to commit the transaction.";
601 } 601 }
602 602
603 } // namespace content 603 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/android/media_resource_getter_impl.cc ('k') | content/browser/net/sqlite_persistent_cookie_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698