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

Unified Diff: content/common/webblobregistry_impl.cc

Issue 6681028: Move the blob related code to content, and also move the blob messages to the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « content/common/webblobregistry_impl.h ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/webblobregistry_impl.cc
===================================================================
--- content/common/webblobregistry_impl.cc (revision 77971)
+++ content/common/webblobregistry_impl.cc (working copy)
@@ -1,11 +1,11 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// 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/webblobregistry_impl.h"
+#include "content/common/webblobregistry_impl.h"
#include "base/ref_counted.h"
-#include "chrome/common/render_messages.h"
+#include "content/common/webblob_messages.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebBlobData.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h"
@@ -26,14 +26,14 @@
const WebURL& url, WebBlobData& data) {
scoped_refptr<webkit_blob::BlobData> blob_data(
new webkit_blob::BlobData(data));
- sender_->Send(new ViewHostMsg_RegisterBlobUrl(url, blob_data));
+ sender_->Send(new BlobHostMsg_RegisterBlobUrl(url, blob_data));
}
void WebBlobRegistryImpl::registerBlobURL(
const WebURL& url, const WebURL& src_url) {
- sender_->Send(new ViewHostMsg_RegisterBlobUrlFrom(url, src_url));
+ sender_->Send(new BlobHostMsg_RegisterBlobUrlFrom(url, src_url));
}
void WebBlobRegistryImpl::unregisterBlobURL(const WebURL& url) {
- sender_->Send(new ViewHostMsg_UnregisterBlobUrl(url));
+ sender_->Send(new BlobHostMsg_UnregisterBlobUrl(url));
}
« no previous file with comments | « content/common/webblobregistry_impl.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698