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

Unified Diff: chrome/browser/sync/js_arg_list.h

Issue 7497051: sync: Move all the js_* files into a js/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « chrome/browser/sync/js/js_transaction_observer.cc ('k') | chrome/browser/sync/js_arg_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/js_arg_list.h
diff --git a/chrome/browser/sync/js_arg_list.h b/chrome/browser/sync/js_arg_list.h
deleted file mode 100644
index 3dafa71e2fb6581ff89bec81aec41713c35b47a8..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/js_arg_list.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2011 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 CHROME_BROWSER_SYNC_JS_ARG_LIST_H_
-#define CHROME_BROWSER_SYNC_JS_ARG_LIST_H_
-#pragma once
-
-// See README.js for design comments.
-
-#include <string>
-
-#include "base/memory/ref_counted.h"
-#include "base/values.h"
-#include "chrome/browser/sync/shared_value.h"
-
-namespace browser_sync {
-
-// A thread-safe wrapper around an immutable ListValue. Used for
-// passing around argument lists to different threads.
-class JsArgList {
- public:
- // Uses an empty argument list.
- JsArgList();
-
- // Takes over the data in |args|, leaving |args| empty.
- explicit JsArgList(ListValue* args);
-
- ~JsArgList();
-
- const ListValue& Get() const;
-
- std::string ToString() const;
-
- // Copy constructor and assignment operator welcome.
-
- private:
- scoped_refptr<const SharedValue<ListValue> > args_;
-};
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_JS_ARG_LIST_H_
« no previous file with comments | « chrome/browser/sync/js/js_transaction_observer.cc ('k') | chrome/browser/sync/js_arg_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698