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

Side by Side Diff: content/browser/appcache/chrome_appcache_service.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_
6 #define CONTENT_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_ 6 #define CONTENT_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/browser/browser_thread.h" 10 #include "content/browser/browser_thread.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 friend class DeleteTask<ChromeAppCacheService>; 50 friend class DeleteTask<ChromeAppCacheService>;
51 51
52 virtual ~ChromeAppCacheService(); 52 virtual ~ChromeAppCacheService();
53 53
54 // AppCachePolicy overrides 54 // AppCachePolicy overrides
55 virtual bool CanLoadAppCache(const GURL& manifest_url); 55 virtual bool CanLoadAppCache(const GURL& manifest_url);
56 virtual int CanCreateAppCache(const GURL& manifest_url, 56 virtual int CanCreateAppCache(const GURL& manifest_url,
57 net::CompletionCallback* callback); 57 net::CompletionCallback* callback);
58 58
59 // NotificationObserver override 59 // NotificationObserver override
60 virtual void Observe(NotificationType type, 60 virtual void Observe(int type,
61 const NotificationSource& source, 61 const NotificationSource& source,
62 const NotificationDetails& details); 62 const NotificationDetails& details);
63 63
64 const content::ResourceContext* resource_context_; 64 const content::ResourceContext* resource_context_;
65 NotificationRegistrar registrar_; 65 NotificationRegistrar registrar_;
66 bool clear_local_state_on_exit_; 66 bool clear_local_state_on_exit_;
67 FilePath cache_path_; 67 FilePath cache_path_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(ChromeAppCacheService); 69 DISALLOW_COPY_AND_ASSIGN(ChromeAppCacheService);
70 }; 70 };
71 71
72 #endif // CONTENT_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_ 72 #endif // CONTENT_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/browser_accessibility_manager.h ('k') | content/browser/appcache/chrome_appcache_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698