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

Unified Diff: components/sync/core/activation_context.h

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/core/DEPS ('k') | components/sync/core/activation_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/activation_context.h
diff --git a/components/sync/core/activation_context.h b/components/sync/core/activation_context.h
deleted file mode 100644
index 78f6f69cc48a2c8ee226c169c933aca1f779db74..0000000000000000000000000000000000000000
--- a/components/sync/core/activation_context.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_SYNC_CORE_ACTIVATION_CONTEXT_H_
-#define COMPONENTS_SYNC_CORE_ACTIVATION_CONTEXT_H_
-
-#include <memory>
-
-#include "base/memory/ref_counted.h"
-#include "base/memory/weak_ptr.h"
-#include "base/sequenced_task_runner.h"
-#include "components/sync/core/model_type_processor.h"
-#include "components/sync/core/non_blocking_sync_common.h"
-#include "components/sync/protocol/model_type_state.pb.h"
-
-namespace syncer {
-
-// The state passed from ModelTypeProcessor to Sync thread during DataType
-// activation.
-struct ActivationContext {
- ActivationContext();
- ~ActivationContext();
-
- // Initial ModelTypeState at the moment of activation.
- sync_pb::ModelTypeState model_type_state;
-
- // The ModelTypeProcessor for the worker. Note that this is owned because
- // it is generally a proxy object to the real processor.
- std::unique_ptr<ModelTypeProcessor> type_processor;
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_CORE_ACTIVATION_CONTEXT_H_
« no previous file with comments | « components/sync/core/DEPS ('k') | components/sync/core/activation_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698