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

Unified Diff: content/child/appcache_dispatcher.h

Issue 22410007: Move appcache_frontend_impl.* to content/renderer/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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/child/appcache_backend_proxy.cc ('k') | content/child/appcache_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/appcache_dispatcher.h
diff --git a/content/child/appcache_dispatcher.h b/content/child/appcache_dispatcher.h
deleted file mode 100644
index 0ce2acb9c806b12de9dabc8473b6c5d6ab002b47..0000000000000000000000000000000000000000
--- a/content/child/appcache_dispatcher.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2012 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 CONTENT_CHILD_APPCACHE_DISPATCHER_H_
-#define CONTENT_CHILD_APPCACHE_DISPATCHER_H_
-
-#include <string>
-#include <vector>
-
-#include "base/memory/scoped_ptr.h"
-#include "content/child/appcache_backend_proxy.h"
-#include "ipc/ipc_listener.h"
-#include "webkit/common/appcache/appcache_interfaces.h"
-
-namespace content {
-
-// Dispatches appcache related messages sent to a child process from the
-// main browser process. There is one instance per child process. Messages
-// are dispatched on the main child thread. The ChildThread base class
-// creates an instance and delegates calls to it.
-class AppCacheDispatcher : public IPC::Listener {
- public:
- AppCacheDispatcher(IPC::Sender* sender,
- appcache::AppCacheFrontend* frontend);
- virtual ~AppCacheDispatcher();
-
- AppCacheBackendProxy* backend_proxy() { return &backend_proxy_; }
-
- // IPC::Listener implementation
- virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
-
- private:
- // Ipc message handlers
- void OnCacheSelected(int host_id, const appcache::AppCacheInfo& info);
- void OnStatusChanged(const std::vector<int>& host_ids,
- appcache::Status status);
- void OnEventRaised(const std::vector<int>& host_ids,
- appcache::EventID event_id);
- void OnProgressEventRaised(const std::vector<int>& host_ids,
- const GURL& url, int num_total, int num_complete);
- void OnErrorEventRaised(const std::vector<int>& host_ids,
- const std::string& message);
- void OnLogMessage(int host_id, int log_level, const std::string& message);
- void OnContentBlocked(int host_id, const GURL& manifest_url);
-
- AppCacheBackendProxy backend_proxy_;
- scoped_ptr<appcache::AppCacheFrontend> frontend_;
-};
-
-} // namespace content
-
-#endif // CONTENT_CHILD_APPCACHE_DISPATCHER_H_
« no previous file with comments | « content/child/appcache_backend_proxy.cc ('k') | content/child/appcache_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698