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

Side by Side Diff: chrome/browser/intents/web_intent_data.h

Issue 7601013: Web Intents: Hook up the register intent InfoBar with the WebIntentsRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanups and fixes. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_ 5 #ifndef CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_
6 #define CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_ 6 #define CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
11 11
12 // Describes the relevant elements of a WebIntent. 12 // Describes the relevant elements of a WebIntent.
13 struct WebIntentData { 13 struct WebIntentData {
14 GURL service_url; // URL for service invocation. 14 GURL service_url; // URL for service invocation.
15 string16 action; // Name of action provided by service. 15 string16 action; // Name of action provided by service.
16 string16 type; // MIME type of data accepted by service. 16 string16 type; // MIME type of data accepted by service.
17
18 bool operator==(const WebIntentData& other) const;
17 }; 19 };
18 20
19 #endif // CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_ 21 #endif // CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698