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

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

Issue 9104018: Modify schema to include defaulting information. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add accessors, tests. Created 8 years, 11 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/default_intent_service.h
diff --git a/chrome/browser/intents/default_intent_service.h b/chrome/browser/intents/default_intent_service.h
new file mode 100644
index 0000000000000000000000000000000000000000..ee9565d650e2057608c03fe91b3cb3e3e3c66e10
--- /dev/null
+++ b/chrome/browser/intents/default_intent_service.h
@@ -0,0 +1,23 @@
+// 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_INTENT_SERVICE_H_
+#define CHROME_BROWSER_INTENTS_DEFAULT_INTENT_SERVICE_H_
+
+#include <string>
James Hawkins 2012/02/05 05:21:51 nit: Blank line after this.
Greg Billock 2012/02/07 00:45:06 Done.
+#include "base/string16.h"
+
+// Hold data related to a default settings for web intents service
James Hawkins 2012/02/05 05:21:51 nit: s/Hold/Holds/
Greg Billock 2012/02/07 00:45:06 Done.
+// selection. Holds data in a row in the web_intents_defaults table.
+struct DefaultIntentService {
James Hawkins 2012/02/05 05:21:51 DefaultWebIntentService
Greg Billock 2012/02/07 00:45:06 Done.
+ string16 action;
James Hawkins 2012/02/05 05:21:51 Document the member variables.
Greg Billock 2012/02/07 00:45:06 Added to class comment.
+ string16 type;
+ std::string url_prefix;
+ int user_date;
+ int suppression;
+ std::string service_url;
+ std::string extension_url;
+};
+
+#endif // CHROME_BROWSER_INTENTS_DEFAULT_INTENT_SERVICE_H_
« no previous file with comments | « no previous file | chrome/browser/webdata/web_intents_table.h » ('j') | chrome/browser/webdata/web_intents_table.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698