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

Side by Side Diff: Source/WebCore/loader/icon/IconDatabaseBase.h

Issue 14142009: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « Source/WebCore/loader/icon/IconDatabase.h ('k') | Source/WebCore/page/Console.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 virtual size_t retainedPageURLCount() { return 0; } 196 virtual size_t retainedPageURLCount() { return 0; }
197 virtual size_t iconRecordCount() { return 0; } 197 virtual size_t iconRecordCount() { return 0; }
198 virtual size_t iconRecordCountWithData() { return 0; } 198 virtual size_t iconRecordCountWithData() { return 0; }
199 199
200 virtual bool shouldStopThreadActivity() const { return true; } 200 virtual bool shouldStopThreadActivity() const { return true; }
201 201
202 virtual bool open(const String& directory, const String& filename); 202 virtual bool open(const String& directory, const String& filename);
203 virtual void close() { } 203 virtual void close() { }
204 virtual void removeAllIcons() { } 204 virtual void removeAllIcons() { }
205 205
206 virtual void setPrivateBrowsingEnabled(bool) { }
207 virtual void setClient(IconDatabaseClient*) { } 206 virtual void setClient(IconDatabaseClient*) { }
208 207
209 virtual bool isOpen() const { return false; } 208 virtual bool isOpen() const { return false; }
210 virtual String databasePath() const; 209 virtual String databasePath() const;
211 210
212 }; 211 };
213 212
214 // Functions to get/set the global icon database. 213 // Functions to get/set the global icon database.
215 IconDatabaseBase& iconDatabase(); 214 IconDatabaseBase& iconDatabase();
216 void setGlobalIconDatabase(IconDatabaseBase*); 215 void setGlobalIconDatabase(IconDatabaseBase*);
217 bool documentCanHaveIcon(const String&); 216 bool documentCanHaveIcon(const String&);
218 217
219 } // namespace WebCore 218 } // namespace WebCore
220 219
221 #endif // IconDatabaseBase_h 220 #endif // IconDatabaseBase_h
OLDNEW
« no previous file with comments | « Source/WebCore/loader/icon/IconDatabase.h ('k') | Source/WebCore/page/Console.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698