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

Unified Diff: chrome/browser/history/history_notifications.h

Issue 773103004: Remove NOTIFICATION_HISTORY_URLS_DELETED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to tip Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/history_details.h ('k') | chrome/browser/history/history_notifications.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_notifications.h
diff --git a/chrome/browser/history/history_notifications.h b/chrome/browser/history/history_notifications.h
deleted file mode 100644
index 564ee90ad53730c637a70c96ce8d3c6f391c733b..0000000000000000000000000000000000000000
--- a/chrome/browser/history/history_notifications.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Structs that hold data used in broadcasting notifications.
-
-#ifndef CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__
-#define CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__
-
-#include <set>
-
-#include "chrome/browser/history/history_details.h"
-#include "components/history/core/browser/history_types.h"
-#include "url/gurl.h"
-
-namespace history {
-
-// Details for NOTIFICATION_HISTORY_TYPED_URLS_MODIFIED.
-struct URLsModifiedDetails : public HistoryDetails {
- URLsModifiedDetails();
- ~URLsModifiedDetails() override;
-
- // Lists the information for each of the URLs affected. The rows will have the
- // IDs that are currently in effect in the main history database.
- URLRows changed_urls;
-};
-
-// Details for NOTIFICATION_HISTORY_URLS_DELETED.
-struct URLsDeletedDetails : public HistoryDetails {
- URLsDeletedDetails();
- ~URLsDeletedDetails() override;
-
- // Set when all history was deleted. False means just a subset was deleted.
- bool all_history;
-
- // True if the data was expired due to old age. False if the data was deleted
- // in response to an explicit user action through the History UI.
- bool expired;
-
- // The URLRows of URLs deleted. This is valid only when |all_history| is false
- // indicating that a subset of history has been deleted. The rows will have
- // the IDs that had been in effect before the deletion in the main history
- // database.
- URLRows rows;
-
- // The list of deleted favicon urls. This is valid only when |all_history| is
- // false, indicating that a subset of history has been deleted.
- std::set<GURL> favicon_urls;
-};
-
-} // namespace history
-
-#endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__
« no previous file with comments | « chrome/browser/history/history_details.h ('k') | chrome/browser/history/history_notifications.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698