OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "base/files/file_path.h" | 5 #include "base/files/file_path.h" |
6 #include "base/json/json_string_value_serializer.h" | 6 #include "base/json/json_string_value_serializer.h" |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "chrome/browser/extensions/activity_log/activity_database.h" | 9 #include "chrome/browser/extensions/activity_log/activity_database.h" |
10 #include "chrome/browser/extensions/activity_log/api_actions.h" | 10 #include "chrome/browser/extensions/activity_log/api_actions.h" |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 extra); | 222 extra); |
223 break; | 223 break; |
224 } | 224 } |
225 default: | 225 default: |
226 NOTREACHED(); | 226 NOTREACHED(); |
227 } | 227 } |
228 | 228 |
229 ScheduleAndForget(db_, &ActivityDatabase::RecordAction, action); | 229 ScheduleAndForget(db_, &ActivityDatabase::RecordAction, action); |
230 } | 230 } |
231 | 231 |
| 232 void FullStreamUIPolicy::RemoveURLs(const std::vector<GURL>& gurls) { |
| 233 ScheduleAndForget(db_, &ActivityDatabase::RemoveURLs, gurls); |
| 234 } |
| 235 |
| 236 void FullStreamUIPolicy::RemoveURL(const GURL& gurl) { |
| 237 ScheduleAndForget(db_, &ActivityDatabase::RemoveURL, gurl); |
| 238 } |
| 239 |
232 } // namespace extensions | 240 } // namespace extensions |
OLD | NEW |