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

Side by Side Diff: webkit/common/database/database_identifier.h

Issue 17003010: Port BrowsingDataDatabaseHelper to webkit_database::DatabaseIdentifier (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 7 years, 6 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
« no previous file with comments | « chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef WEBKIT_COMMON_DATABASE_DATABASE_IDENTIFIER_H_
6 #define WEBKIT_COMMON_DATABASE_DATABASE_IDENTIFIER_H_
7
5 #include <string> 8 #include <string>
6 9
7 #include "base/basictypes.h" 10 #include "base/basictypes.h"
8 #include "base/strings/string_piece.h" 11 #include "base/strings/string_piece.h"
9 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
10 #include "webkit/common/webkit_storage_common_export.h" 13 #include "webkit/common/webkit_storage_common_export.h"
11 14
12 namespace webkit_database { 15 namespace webkit_database {
13 16
14 WEBKIT_STORAGE_COMMON_EXPORT std::string GetIdentifierFromOrigin( 17 WEBKIT_STORAGE_COMMON_EXPORT std::string GetIdentifierFromOrigin(
(...skipping 25 matching lines...) Expand all
40 bool is_file); 43 bool is_file);
41 44
42 std::string scheme_; 45 std::string scheme_;
43 std::string hostname_; 46 std::string hostname_;
44 int port_; 47 int port_;
45 bool is_unique_; 48 bool is_unique_;
46 bool is_file_; 49 bool is_file_;
47 }; 50 };
48 51
49 } // namespace webkit_database 52 } // namespace webkit_database
53
54 #endif // WEBKIT_COMMON_DATABASE_DATABASE_IDENTIFIER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698