| Index: chrome/browser/intents/default_web_intent_service.h
|
| diff --git a/chrome/browser/intents/default_web_intent_service.h b/chrome/browser/intents/default_web_intent_service.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d3d906f2293dc967e926b2c9d2e91384c06056b7
|
| --- /dev/null
|
| +++ b/chrome/browser/intents/default_web_intent_service.h
|
| @@ -0,0 +1,31 @@
|
| +// 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_DEFAULT_WEB_INTENT_SERVICE_H_
|
| +#define CHROME_BROWSER_INTENTS_DEFAULT_WEB_INTENT_SERVICE_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/string16.h"
|
| +
|
| +// Holds data related to a default settings for web intents service
|
| +// selection. Holds data in a row in the web_intents_defaults table.
|
| +// The key for the table is the |action|, |type|, and |url_prefix|.
|
| +// These describe the action and type of the web intent for which the
|
| +// default is set, and the url prefix (if any) of source pages for
|
| +// which the default applies. The main actionable value is the URL
|
| +// of the service or extension page handling the intent. The |user_date|
|
| +// and |suppression| fields are provided for more intricate post-fetch
|
| +// decisions about whether to use a particular default service.
|
| +struct DefaultWebIntentService {
|
| + string16 action;
|
| + string16 type;
|
| + std::string url_prefix;
|
| + int user_date;
|
| + int suppression;
|
| + std::string service_url;
|
| + std::string extension_url;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_INTENTS_DEFAULT_WEB_INTENT_SERVICE_H_
|
|
|