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

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

Issue 8008021: Add new UMA stats to get a handle on Downloads UI Usage (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merge Created 9 years, 2 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/history/history.cc ('k') | chrome/browser/history/history_backend.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_HISTORY_BACKEND_H_ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 void SetFaviconOutOfDateForPage(const GURL& page_url); 240 void SetFaviconOutOfDateForPage(const GURL& page_url);
241 241
242 void SetImportedFavicons( 242 void SetImportedFavicons(
243 const std::vector<ImportedFaviconUsage>& favicon_usage); 243 const std::vector<ImportedFaviconUsage>& favicon_usage);
244 244
245 // Downloads ----------------------------------------------------------------- 245 // Downloads -----------------------------------------------------------------
246 246
247 void GetNextDownloadId(scoped_refptr<DownloadNextIdRequest> request); 247 void GetNextDownloadId(scoped_refptr<DownloadNextIdRequest> request);
248 void QueryDownloads(scoped_refptr<DownloadQueryRequest> request); 248 void QueryDownloads(scoped_refptr<DownloadQueryRequest> request);
249 void CleanUpInProgressEntries(); 249 void CleanUpInProgressEntries();
250 void UpdateDownload(int64 received_bytes, int32 state, int64 db_handle); 250 void UpdateDownload(const DownloadPersistentStoreInfo& data);
251 void UpdateDownloadPath(const FilePath& path, int64 db_handle); 251 void UpdateDownloadPath(const FilePath& path, int64 db_handle);
252 void CreateDownload(scoped_refptr<DownloadCreateRequest> request, 252 void CreateDownload(scoped_refptr<DownloadCreateRequest> request,
253 int32 id, 253 int32 id,
254 const DownloadPersistentStoreInfo& info); 254 const DownloadPersistentStoreInfo& info);
255 void RemoveDownload(int64 db_handle); 255 void RemoveDownload(int64 db_handle);
256 void RemoveDownloadsBetween(const base::Time remove_begin, 256 void RemoveDownloadsBetween(const base::Time remove_begin,
257 const base::Time remove_end); 257 const base::Time remove_end);
258 void RemoveDownloads(const base::Time remove_end); 258 void RemoveDownloads(const base::Time remove_end);
259 259
260 // Segment usage ------------------------------------------------------------- 260 // Segment usage -------------------------------------------------------------
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 // Publishes the history to all indexers which are registered to receive 631 // Publishes the history to all indexers which are registered to receive
632 // history data from us. Can be NULL if there are no listeners. 632 // history data from us. Can be NULL if there are no listeners.
633 scoped_ptr<HistoryPublisher> history_publisher_; 633 scoped_ptr<HistoryPublisher> history_publisher_;
634 634
635 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 635 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
636 }; 636 };
637 637
638 } // namespace history 638 } // namespace history
639 639
640 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 640 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/history.cc ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698