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

Unified Diff: webkit/glue/web_intent_reply_data.h

Issue 12340107: Remove some more web intents code I missed previously (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: cros Created 7 years, 10 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 | « webkit/glue/web_intent_data.cc ('k') | webkit/glue/web_intent_reply_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/web_intent_reply_data.h
diff --git a/webkit/glue/web_intent_reply_data.h b/webkit/glue/web_intent_reply_data.h
deleted file mode 100644
index 5ee88a9a5edb2964438b752f62d5a445cabe81f4..0000000000000000000000000000000000000000
--- a/webkit/glue/web_intent_reply_data.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 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 WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
-#define WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
-
-#include "base/files/file_path.h"
-#include "base/string16.h"
-#include "webkit/glue/webkit_glue_export.h"
-
-namespace webkit_glue {
-
-// Constant values use to indicate what type of reply the caller is getting from
-// the web intents service page.
-enum WebIntentReplyType {
- // Invalid type. Use to initialize reply types.
- WEB_INTENT_REPLY_INVALID,
-
- // Sent for a reply message (success).
- WEB_INTENT_REPLY_SUCCESS,
-
- // Sent for a failure message.
- WEB_INTENT_REPLY_FAILURE,
-
- // Sent if the picker is cancelled without a selection being made.
- WEB_INTENT_PICKER_CANCELLED,
-
- // Sent if the service contents is closed without any response being sent.
- WEB_INTENT_SERVICE_CONTENTS_CLOSED,
-};
-
-struct WEBKIT_GLUE_EXPORT WebIntentReply {
- WebIntentReply();
- WebIntentReply(WebIntentReplyType type, string16 data);
- WebIntentReply(
- WebIntentReplyType type,
- base::FilePath data_file,
- int64 data_file_size);
-
- bool operator==(const WebIntentReply& other) const;
-
- // Response type. Default value is WEB_INTENT_REPLY_INVALID.
- WebIntentReplyType type;
-
- // Serialized data. Default value is empty.
- string16 data;
-
- // FilePath to the data to be delivered. Default value is empty.
- base::FilePath data_file;
-
- // Length of data_path.
- int64 data_file_size;
-};
-
-} // namespace webkit_glue
-
-#endif // WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
« no previous file with comments | « webkit/glue/web_intent_data.cc ('k') | webkit/glue/web_intent_reply_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698