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

Unified Diff: components/scheduler/child/cancelable_closure_holder.h

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 8 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 | « components/scheduler/child/OWNERS ('k') | components/scheduler/child/cancelable_closure_holder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/child/cancelable_closure_holder.h
diff --git a/content/child/scheduler/cancelable_closure_holder.h b/components/scheduler/child/cancelable_closure_holder.h
similarity index 80%
rename from content/child/scheduler/cancelable_closure_holder.h
rename to components/scheduler/child/cancelable_closure_holder.h
index 1e3892cc1b2919caec716b9b472f0577e983ac45..20968a46096aa5853cc3fb6dcc75dfa198d8cda3 100644
--- a/content/child/scheduler/cancelable_closure_holder.h
+++ b/components/scheduler/child/cancelable_closure_holder.h
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_CHILD_SCHEDULER_CANCELABLE_CLOSURE_HOLDER_H_
-#define CONTENT_CHILD_SCHEDULER_CANCELABLE_CLOSURE_HOLDER_H_
+#ifndef COMPONENTS_SCHEDULER_CHILD_CANCELABLE_CLOSURE_HOLDER_H_
+#define COMPONENTS_SCHEDULER_CHILD_CANCELABLE_CLOSURE_HOLDER_H_
#include "base/cancelable_callback.h"
-namespace content {
+namespace scheduler {
// A CancelableClosureHolder is a CancelableCallback which resets its wrapped
// callback with a cached closure whenever it is canceled.
@@ -34,6 +34,6 @@ class CancelableClosureHolder {
DISALLOW_COPY_AND_ASSIGN(CancelableClosureHolder);
};
-} // namespace content
+} // namespace scheduler
-#endif // CONTENT_CHILD_SCHEDULER_CANCELABLE_CLOSURE_HOLDER_H_
+#endif // COMPONENTS_SCHEDULER_CHILD_CANCELABLE_CLOSURE_HOLDER_H_
« no previous file with comments | « components/scheduler/child/OWNERS ('k') | components/scheduler/child/cancelable_closure_holder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698