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

Side by Side Diff: chrome/browser/history/history_notifications.cc

Issue 773103004: Remove NOTIFICATION_HISTORY_URLS_DELETED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove NotificationObserver from InMemoryURLIndex Created 6 years 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
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 #include "chrome/browser/history/history_notifications.h" 5 #include "chrome/browser/history/history_notifications.h"
6 6
7 namespace history { 7 namespace history {
8 8
9 URLsModifiedDetails::URLsModifiedDetails() {} 9 URLsModifiedDetails::URLsModifiedDetails() {}
10 10
11 URLsModifiedDetails::~URLsModifiedDetails() {} 11 URLsModifiedDetails::~URLsModifiedDetails() {}
12 12
13 URLsDeletedDetails::URLsDeletedDetails() 13 URLsDeletedDetails::URLsDeletedDetails()
14 : all_history(false), 14 : all_history(false),
15 expired(false) { 15 expired(false) {
16 } 16 }
17 17
18 URLsDeletedDetails::URLsDeletedDetails(bool all_history,
19 bool expired,
20 const URLRows& rows,
21 const std::set<GURL>& favicon_urls)
22 : all_history(all_history),
23 expired(expired),
24 rows(rows),
25 favicon_urls(favicon_urls) {
26 }
27
18 URLsDeletedDetails::~URLsDeletedDetails() {} 28 URLsDeletedDetails::~URLsDeletedDetails() {}
19 29
20 KeywordSearchUpdatedDetails::KeywordSearchUpdatedDetails( 30 KeywordSearchUpdatedDetails::KeywordSearchUpdatedDetails(
21 const URLRow& url_row, 31 const URLRow& url_row,
22 KeywordID keyword_id, 32 KeywordID keyword_id,
23 const base::string16& term) 33 const base::string16& term)
24 : url_row(url_row), 34 : url_row(url_row),
25 keyword_id(keyword_id), 35 keyword_id(keyword_id),
26 term(term) { 36 term(term) {
27 } 37 }
28 38
29 KeywordSearchUpdatedDetails::~KeywordSearchUpdatedDetails() {} 39 KeywordSearchUpdatedDetails::~KeywordSearchUpdatedDetails() {}
30 40
31 KeywordSearchDeletedDetails::KeywordSearchDeletedDetails(URLID url_row_id) 41 KeywordSearchDeletedDetails::KeywordSearchDeletedDetails(URLID url_row_id)
32 : url_row_id(url_row_id) { 42 : url_row_id(url_row_id) {
33 } 43 }
34 44
35 KeywordSearchDeletedDetails::~KeywordSearchDeletedDetails() {} 45 KeywordSearchDeletedDetails::~KeywordSearchDeletedDetails() {}
36 46
37 } // namespace history 47 } // namespace history
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698