| Index: chrome/browser/sync/js/js_arg_list.h
|
| diff --git a/chrome/browser/sync/js/js_arg_list.h b/chrome/browser/sync/js/js_arg_list.h
|
| deleted file mode 100644
|
| index 585aa529d11e755e81085cd954dbc1290b55c891..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/sync/js/js_arg_list.h
|
| +++ /dev/null
|
| @@ -1,44 +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_JS_ARG_LIST_H_
|
| -#define CHROME_BROWSER_SYNC_JS_JS_ARG_LIST_H_
|
| -#pragma once
|
| -
|
| -// See README.js for design comments.
|
| -
|
| -#include <string>
|
| -
|
| -#include "base/values.h"
|
| -#include "chrome/browser/sync/util/immutable.h"
|
| -
|
| -namespace browser_sync {
|
| -
|
| -// A thin wrapper around 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:
|
| - typedef Immutable<ListValue, HasSwapMemFnByPtr<ListValue> >
|
| - ImmutableListValue;
|
| - ImmutableListValue args_;
|
| -};
|
| -
|
| -} // namespace browser_sync
|
| -
|
| -#endif // CHROME_BROWSER_SYNC_JS_JS_ARG_LIST_H_
|
|
|