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

Side by Side Diff: chrome/browser/history/in_memory_url_index.h

Issue 466173003: Merge 288515 "Omnibox: Clobber HQP Cache File when user mucks wi..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/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
« no previous file with comments | « no previous file | chrome/browser/history/in_memory_url_index.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ 5 #ifndef CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_
6 #define CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ 6 #define CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_
7 7
8 #include <functional> 8 #include <functional>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // Set to true once the shutdown process has begun. 283 // Set to true once the shutdown process has begun.
284 bool shutdown_; 284 bool shutdown_;
285 285
286 // Set to true once the index restoration is complete. 286 // Set to true once the index restoration is complete.
287 bool restored_; 287 bool restored_;
288 288
289 // Set to true when changes to the index have been made and the index needs 289 // Set to true when changes to the index have been made and the index needs
290 // to be cached. Set to false when the index has been cached. Used as a 290 // to be cached. Set to false when the index has been cached. Used as a
291 // temporary safety check to insure that the cache is saved before the 291 // temporary safety check to insure that the cache is saved before the
292 // index has been destructed. 292 // index has been destructed.
293 // TODO(mrossetti): Eliminate once the transition to SQLite has been done.
294 // http://crbug.com/83659
295 bool needs_to_be_cached_; 293 bool needs_to_be_cached_;
296 294
297 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); 295 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex);
298 }; 296 };
299 297
300 } // namespace history 298 } // namespace history
301 299
302 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ 300 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/history/in_memory_url_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698