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

Side by Side Diff: chrome/browser/cocoa/cookie_details.h

Issue 4682002: Remove "name" field from indexed databases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "chrome/browser/browsing_data_database_helper.h" 7 #include "chrome/browser/browsing_data_database_helper.h"
8 #include "chrome/browser/browsing_data_indexed_db_helper.h" 8 #include "chrome/browser/browsing_data_indexed_db_helper.h"
9 #include "chrome/browser/browsing_data_local_storage_helper.h" 9 #include "chrome/browser/browsing_data_local_storage_helper.h"
10 #include "base/scoped_nsobject.h" 10 #include "base/scoped_nsobject.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 scoped_nsobject<NSString> content_; 76 scoped_nsobject<NSString> content_;
77 scoped_nsobject<NSString> path_; 77 scoped_nsobject<NSString> path_;
78 scoped_nsobject<NSString> sendFor_; 78 scoped_nsobject<NSString> sendFor_;
79 // Stringifed dates. 79 // Stringifed dates.
80 scoped_nsobject<NSString> expires_; 80 scoped_nsobject<NSString> expires_;
81 81
82 // Only set for type kCocoaCookieDetailsTypeCookie and 82 // Only set for type kCocoaCookieDetailsTypeCookie and
83 // kCocoaCookieDetailsTypeTreeAppCache nodes. 83 // kCocoaCookieDetailsTypeTreeAppCache nodes.
84 scoped_nsobject<NSString> created_; 84 scoped_nsobject<NSString> created_;
85 85
86 // Only set for types kCocoaCookieDetailsTypeCookie, 86 // Only set for types kCocoaCookieDetailsTypeCookie, and
87 // kCocoaCookieDetailsTypePromptDatabase, and 87 // kCocoaCookieDetailsTypePromptDatabase nodes.
88 // kCocoaCookieDetailsTypeTreeIndexedDB nodes.
89 scoped_nsobject<NSString> name_; 88 scoped_nsobject<NSString> name_;
90 89
91 // Only set for type kCocoaCookieDetailsTypeTreeLocalStorage, 90 // Only set for type kCocoaCookieDetailsTypeTreeLocalStorage,
92 // kCocoaCookieDetailsTypeTreeDatabase, 91 // kCocoaCookieDetailsTypeTreeDatabase,
93 // kCocoaCookieDetailsTypePromptDatabase, 92 // kCocoaCookieDetailsTypePromptDatabase,
94 // kCocoaCookieDetailsTypeTreeIndexedDB, and 93 // kCocoaCookieDetailsTypeTreeIndexedDB, and
95 // kCocoaCookieDetailsTypeTreeAppCache nodes. 94 // kCocoaCookieDetailsTypeTreeAppCache nodes.
96 scoped_nsobject<NSString> fileSize_; 95 scoped_nsobject<NSString> fileSize_;
97 96
98 // Only set for types kCocoaCookieDetailsTypeTreeLocalStorage, 97 // Only set for types kCocoaCookieDetailsTypeTreeLocalStorage,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 scoped_nsobject<CocoaCookieDetails> details_; 215 scoped_nsobject<CocoaCookieDetails> details_;
217 } 216 }
218 217
219 - (CocoaCookieDetails*)details; 218 - (CocoaCookieDetails*)details;
220 219
221 // The adapter assumes ownership of the details object 220 // The adapter assumes ownership of the details object
222 // in its initializer. 221 // in its initializer.
223 - (id)initWithDetails:(CocoaCookieDetails*)details; 222 - (id)initWithDetails:(CocoaCookieDetails*)details;
224 @end 223 @end
225 224
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_indexed_db_helper_unittest.cc ('k') | chrome/browser/cocoa/cookie_details.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698