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

Unified Diff: sync/js/js_event_details.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/js/js_controller.h ('k') | sync/js/js_event_details.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/js/js_event_details.h
diff --git a/sync/js/js_event_details.h b/sync/js/js_event_details.h
deleted file mode 100644
index 22cb2e82075d178b19e66341220fb467d814823f..0000000000000000000000000000000000000000
--- a/sync/js/js_event_details.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2012 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_JS_JS_EVENT_DETAILS_H_
-#define SYNC_JS_JS_EVENT_DETAILS_H_
-
-// See README.js for design comments.
-
-#include <string>
-
-#include "base/values.h"
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/util/immutable.h"
-
-namespace syncer {
-
-// A thin wrapper around Immutable<DictionaryValue>. Used for passing
-// around event details to different threads.
-class SYNC_EXPORT JsEventDetails {
- public:
- // Uses an empty dictionary.
- JsEventDetails();
-
- // Takes over the data in |details|, leaving |details| empty.
- explicit JsEventDetails(base::DictionaryValue* details);
-
- JsEventDetails(const JsEventDetails& other);
-
- ~JsEventDetails();
-
- const base::DictionaryValue& Get() const;
-
- std::string ToString() const;
-
- // Copy constructor and assignment operator welcome.
-
- private:
- typedef Immutable<base::DictionaryValue,
- HasSwapMemFnByPtr<base::DictionaryValue> >
- ImmutableDictionaryValue;
-
- ImmutableDictionaryValue details_;
-};
-
-} // namespace syncer
-
-#endif // SYNC_JS_JS_EVENT_DETAILS_H_
« no previous file with comments | « sync/js/js_controller.h ('k') | sync/js/js_event_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698