summaryrefslogtreecommitdiffstats
path: root/chrome/common/favicon_url.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 21:28:05 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 21:28:05 +0000
commitae4efe42b48b651afc569537aca438c876cf7564 (patch)
tree990901ce745227abf74334d11e9d176b2e39ff6d /chrome/common/favicon_url.cc
parent1c3412c0cae171231da8a17d41d48694473b567a (diff)
downloadchromium_src-ae4efe42b48b651afc569537aca438c876cf7564.zip
chromium_src-ae4efe42b48b651afc569537aca438c876cf7564.tar.gz
chromium_src-ae4efe42b48b651afc569537aca438c876cf7564.tar.bz2
Make icon_messages use the IPC macros for defining the structs and the serialization code, and move the icon messages there. Also get rid of friend class in RenderView that's not needed anymore.
Review URL: http://codereview.chromium.org/6883020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81999 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/favicon_url.cc')
-rw-r--r--chrome/common/favicon_url.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/common/favicon_url.cc b/chrome/common/favicon_url.cc
new file mode 100644
index 0000000..8b05d0e
--- /dev/null
+++ b/chrome/common/favicon_url.cc
@@ -0,0 +1,17 @@
+// 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.
+
+#include "chrome/common/favicon_url.h"
+
+FaviconURL::FaviconURL()
+ : icon_type(INVALID_ICON) {
+}
+
+FaviconURL::FaviconURL(const GURL& url, IconType type)
+ : icon_url(url),
+ icon_type(type) {
+}
+
+FaviconURL::~FaviconURL() {
+}