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

Unified Diff: sync/internal_api/public/activation_context.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 | « sync/internal_api/public/DEPS ('k') | sync/internal_api/public/attachments/attachment_downloader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/activation_context.h
diff --git a/sync/internal_api/public/activation_context.h b/sync/internal_api/public/activation_context.h
deleted file mode 100644
index d6cb734448af58fe2db90669a319c685470e02d4..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/activation_context.h
+++ /dev/null
@@ -1,34 +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 SYNC_INTERNAL_API_PUBLIC_ACTIVATION_CONTEXT_H_
-#define SYNC_INTERNAL_API_PUBLIC_ACTIVATION_CONTEXT_H_
-
-#include "base/memory/ref_counted.h"
-#include "base/memory/weak_ptr.h"
-#include "base/sequenced_task_runner.h"
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/model_type_processor.h"
-#include "sync/internal_api/public/non_blocking_sync_common.h"
-#include "sync/protocol/data_type_state.pb.h"
-
-namespace syncer_v2 {
-
-// The state passed from ModelTypeProcessor to Sync thread during DataType
-// activation.
-struct SYNC_EXPORT ActivationContext {
- ActivationContext();
- ~ActivationContext();
-
- // Initial DataTypeState at the moment of activation.
- sync_pb::DataTypeState data_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_v2
-
-#endif // SYNC_INTERNAL_API_PUBLIC_ACTIVATION_CONTEXT_H_
« no previous file with comments | « sync/internal_api/public/DEPS ('k') | sync/internal_api/public/attachments/attachment_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698