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

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

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs Created 6 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/delete_directive_handler.h" 5 #include "chrome/browser/history/delete_directive_handler.h"
6 6
7 #include "base/json/json_writer.h" 7 #include "base/json/json_writer.h"
8 #include "base/rand_util.h" 8 #include "base/rand_util.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 DeleteDirectiveTask( 118 DeleteDirectiveTask(
119 base::WeakPtr<DeleteDirectiveHandler> delete_directive_handler, 119 base::WeakPtr<DeleteDirectiveHandler> delete_directive_handler,
120 const syncer::SyncDataList& delete_directive, 120 const syncer::SyncDataList& delete_directive,
121 DeleteDirectiveHandler::PostProcessingAction post_processing_action) 121 DeleteDirectiveHandler::PostProcessingAction post_processing_action)
122 : delete_directive_handler_(delete_directive_handler), 122 : delete_directive_handler_(delete_directive_handler),
123 delete_directives_(delete_directive), 123 delete_directives_(delete_directive),
124 post_processing_action_(post_processing_action) {} 124 post_processing_action_(post_processing_action) {}
125 125
126 // Implements HistoryDBTask. 126 // Implements HistoryDBTask.
127 virtual bool RunOnDBThread(history::HistoryBackend* backend, 127 virtual bool RunOnDBThread(history::HistoryBackend* backend,
128 history::HistoryDatabase* db) OVERRIDE; 128 history::HistoryDatabase* db) override;
129 virtual void DoneRunOnMainThread() OVERRIDE; 129 virtual void DoneRunOnMainThread() override;
130 130
131 private: 131 private:
132 virtual ~DeleteDirectiveTask() {} 132 virtual ~DeleteDirectiveTask() {}
133 133
134 // Process a list of global Id directives. Delete all visits to a URL in 134 // Process a list of global Id directives. Delete all visits to a URL in
135 // time ranges of directives if the timestamp of one visit matches with one 135 // time ranges of directives if the timestamp of one visit matches with one
136 // global id. 136 // global id.
137 void ProcessGlobalIdDeleteDirectives( 137 void ProcessGlobalIdDeleteDirectives(
138 history::HistoryBackend* history_backend, 138 history::HistoryBackend* history_backend,
139 const syncer::SyncDataList& global_id_directives); 139 const syncer::SyncDataList& global_id_directives);
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 for (size_t i = 0; i < delete_directives.size(); ++i) { 432 for (size_t i = 0; i < delete_directives.size(); ++i) {
433 change_list.push_back( 433 change_list.push_back(
434 syncer::SyncChange(FROM_HERE, syncer::SyncChange::ACTION_DELETE, 434 syncer::SyncChange(FROM_HERE, syncer::SyncChange::ACTION_DELETE,
435 delete_directives[i])); 435 delete_directives[i]));
436 } 436 }
437 sync_processor_->ProcessSyncChanges(FROM_HERE, change_list); 437 sync_processor_->ProcessSyncChanges(FROM_HERE, change_list);
438 } 438 }
439 } 439 }
440 440
441 } // namespace history 441 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/chrome_history_client_factory.h ('k') | chrome/browser/history/expire_history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698