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

Unified Diff: chrome/browser/intents/web_intent_data.h

Issue 7930002: Rename WebIntentData for backend storage to WebIntentServiceData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix class/struct decl Created 9 years, 3 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/browser/intents/web_intent_data.h
diff --git a/chrome/browser/intents/web_intent_data.h b/chrome/browser/intents/web_intent_data.h
deleted file mode 100644
index 6c0babe8c6c11cd87e3110ea0ec5c02b7de4c52a..0000000000000000000000000000000000000000
--- a/chrome/browser/intents/web_intent_data.h
+++ /dev/null
@@ -1,36 +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_INTENTS_WEB_INTENT_DATA_H_
-#define CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_
-#pragma once
-
-#include "base/string16.h"
-#include "googleurl/src/gurl.h"
-#include <iosfwd>
-
-// Describes the relevant elements of a WebIntent.
-struct WebIntentData {
- // An intents disposition determines which context the service is opened in.
- enum Disposition {
- DISPOSITION_WINDOW, // Open service inside a new window. (Default)
- DISPOSITION_INLINE, // Open service inside the picker UI window.
- };
-
- WebIntentData();
- ~WebIntentData();
-
- bool operator==(const WebIntentData& other) const;
-
- GURL service_url; // URL for service invocation.
- string16 action; // Name of action provided by service.
- string16 type; // MIME type of data accepted by service.
- string16 title; // The title of the service.
- Disposition disposition; // The context the service is opened in.
-};
-
-// Printing operator - helps gtest produce readable error messages.
-std::ostream& operator<<(std::ostream& os, const WebIntentData& intent);
-
-#endif // CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_
« no previous file with comments | « chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc ('k') | chrome/browser/intents/web_intent_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698