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

Unified Diff: chrome/common/serialized_script_value.h

Issue 6672057: Move all the message files in chrome that belong in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
Index: chrome/common/serialized_script_value.h
===================================================================
--- chrome/common/serialized_script_value.h (revision 78395)
+++ chrome/common/serialized_script_value.h (working copy)
@@ -1,41 +0,0 @@
-// Copyright (c) 2010 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_COMMON_SERIALIZED_SCRIPT_VALUE_H_
-#define CHROME_COMMON_SERIALIZED_SCRIPT_VALUE_H_
-#pragma once
-
-#include "base/string16.h"
-
-namespace WebKit {
-class WebSerializedScriptValue;
-}
-
-class SerializedScriptValue {
- public:
- SerializedScriptValue();
- SerializedScriptValue(bool is_null, bool is_invalid, const string16& data);
- explicit SerializedScriptValue(const WebKit::WebSerializedScriptValue& value);
-
- void set_is_null(bool is_null) { is_null_ = is_null; }
- bool is_null() const { return is_null_; }
-
- void set_is_invalid(bool is_invalid) { is_invalid_ = is_invalid; }
- bool is_invalid() const { return is_invalid_; }
-
- void set_data(const string16& data) { data_ = data; }
- const string16& data() const { return data_; }
-
- void set_web_serialized_script_value(
- const WebKit::WebSerializedScriptValue& value);
-
- operator WebKit::WebSerializedScriptValue() const;
-
- private:
- bool is_null_; // Is this null? If so, none of the other properties are valid.
- bool is_invalid_; // Is data_ valid?
- string16 data_; // The wire string format of the serialized script value.
-};
-
-#endif // CHROME_COMMON_SERIALIZED_SCRIPT_VALUE_H_

Powered by Google App Engine
This is Rietveld 408576698