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

Side by Side Diff: components/visitedlink/browser/visitedlink_event_listener.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « components/visitedlink/DEPS ('k') | components/visitedlink/test/visitedlink_unittest.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) 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 "components/visitedlink/browser/visitedlink_event_listener.h" 5 #include "components/visitedlink/browser/visitedlink_event_listener.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "components/visitedlink/browser/visitedlink_delegate.h" 8 #include "components/visitedlink/browser/visitedlink_delegate.h"
9 #include "components/visitedlink/common/visitedlink.mojom.h" 9 #include "components/visitedlink/common/visitedlink.mojom.h"
10 #include "content/public/browser/notification_service.h" 10 #include "content/public/browser/notification_service.h"
11 #include "content/public/browser/notification_types.h" 11 #include "content/public/browser/notification_types.h"
12 #include "content/public/browser/render_process_host.h" 12 #include "content/public/browser/render_process_host.h"
13 #include "content/public/browser/render_widget_host.h" 13 #include "content/public/browser/render_widget_host.h"
14 #include "services/shell/public/cpp/interface_provider.h" 14 #include "services/service_manager/public/cpp/interface_provider.h"
15 15
16 using base::Time; 16 using base::Time;
17 using base::TimeDelta; 17 using base::TimeDelta;
18 using content::RenderWidgetHost; 18 using content::RenderWidgetHost;
19 19
20 namespace { 20 namespace {
21 21
22 // The amount of time we wait to accumulate visited link additions. 22 // The amount of time we wait to accumulate visited link additions.
23 constexpr int kCommitIntervalMs = 100; 23 constexpr int kCommitIntervalMs = 100;
24 24
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 updaters_[child_id]->Update(); 226 updaters_[child_id]->Update();
227 break; 227 break;
228 } 228 }
229 default: 229 default:
230 NOTREACHED(); 230 NOTREACHED();
231 break; 231 break;
232 } 232 }
233 } 233 }
234 234
235 } // namespace visitedlink 235 } // namespace visitedlink
OLDNEW
« no previous file with comments | « components/visitedlink/DEPS ('k') | components/visitedlink/test/visitedlink_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698