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

Unified Diff: chrome/browser/appcache/appcache_frontend_proxy.cc

Issue 6586001: Move appcache/file_sytem/device_orientation subdirectories of chrome\browser ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 10 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 | « chrome/browser/appcache/appcache_frontend_proxy.h ('k') | chrome/browser/appcache/appcache_ui_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/appcache/appcache_frontend_proxy.cc
===================================================================
--- chrome/browser/appcache/appcache_frontend_proxy.cc (revision 75978)
+++ chrome/browser/appcache/appcache_frontend_proxy.cc (working copy)
@@ -1,52 +0,0 @@
-// Copyright (c) 2010 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/browser/appcache/appcache_frontend_proxy.h"
-
-#include "chrome/common/render_messages.h"
-
-AppCacheFrontendProxy::AppCacheFrontendProxy(IPC::Message::Sender* sender)
- : sender_(sender) {
-}
-
-void AppCacheFrontendProxy::OnCacheSelected(
- int host_id, const appcache::AppCacheInfo& info) {
- sender_->Send(new AppCacheMsg_CacheSelected(host_id, info));
-}
-
-void AppCacheFrontendProxy::OnStatusChanged(const std::vector<int>& host_ids,
- appcache::Status status) {
- sender_->Send(new AppCacheMsg_StatusChanged(host_ids, status));
-}
-
-void AppCacheFrontendProxy::OnEventRaised(const std::vector<int>& host_ids,
- appcache::EventID event_id) {
- DCHECK_NE(event_id, appcache::PROGRESS_EVENT); // See OnProgressEventRaised.
- sender_->Send(new AppCacheMsg_EventRaised(host_ids, event_id));
-}
-
-void AppCacheFrontendProxy::OnProgressEventRaised(
- const std::vector<int>& host_ids,
- const GURL& url, int num_total, int num_complete) {
- sender_->Send(new AppCacheMsg_ProgressEventRaised(
- host_ids, url, num_total, num_complete));
-}
-
-void AppCacheFrontendProxy::OnErrorEventRaised(
- const std::vector<int>& host_ids,
- const std::string& message) {
- sender_->Send(new AppCacheMsg_ErrorEventRaised(
- host_ids, message));
-}
-
-void AppCacheFrontendProxy::OnLogMessage(int host_id,
- appcache::LogLevel log_level,
- const std::string& message) {
- sender_->Send(new AppCacheMsg_LogMessage(host_id, log_level, message));
-}
-
-void AppCacheFrontendProxy::OnContentBlocked(int host_id,
- const GURL& manifest_url) {
- sender_->Send(new AppCacheMsg_ContentBlocked(host_id, manifest_url));
-}
« no previous file with comments | « chrome/browser/appcache/appcache_frontend_proxy.h ('k') | chrome/browser/appcache/appcache_ui_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698