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

Side by Side Diff: webkit/appcache/appcache_frontend_impl.h

Issue 1600002: Indicate in the tab UI if appcache creation was blocked by privacy settings. (Closed)
Patch Set: updates Created 10 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_
6 #define WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 #include "webkit/appcache/appcache_interfaces.h" 9 #include "webkit/appcache/appcache_interfaces.h"
10 10
11 namespace appcache { 11 namespace appcache {
12 12
13 class AppCacheFrontendImpl : public AppCacheFrontend { 13 class AppCacheFrontendImpl : public AppCacheFrontend {
14 public: 14 public:
15 virtual void OnCacheSelected(int host_id, int64 cache_id, 15 virtual void OnCacheSelected(int host_id, int64 cache_id,
16 Status status); 16 Status status);
17 virtual void OnStatusChanged(const std::vector<int>& host_ids, 17 virtual void OnStatusChanged(const std::vector<int>& host_ids,
18 Status status); 18 Status status);
19 virtual void OnEventRaised(const std::vector<int>& host_ids, 19 virtual void OnEventRaised(const std::vector<int>& host_ids,
20 EventID event_id); 20 EventID event_id);
21 virtual void OnContentBlocked(int host_id);
21 }; 22 };
22 23
23 } // namespace 24 } // namespace
24 25
25 #endif // WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ 26 #endif // WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698