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

Side by Side Diff: net/base/sdch_observer.h

Issue 706203003: Update from https://crrev.com/303153 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « net/base/sdch_manager_unittest.cc ('k') | net/base/sdch_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_BASE_SDCH_OBSERVER_H_
6 #define NET_BASE_SDCH_OBSERVER_H_
7
8 #include "net/base/net_export.h"
9
10 class GURL;
11
12 namespace net {
13
14 class SdchManager;
15
16 // Observer interface for SDCH. Observers can register with
17 // the SdchManager to receive notifications of various SDCH events.
18 class NET_EXPORT SdchObserver {
19 public:
20 virtual ~SdchObserver();
21
22 // Notification that SDCH has seen a "Get-Dictionary" header.
23 virtual void OnGetDictionary(SdchManager* manager,
24 const GURL& request_url,
25 const GURL& dictionary_url) = 0;
26
27 // Notification that SDCH has received a request to clear all
28 // its dictionaries.
29 virtual void OnClearDictionaries(SdchManager* manager) = 0;
30 };
31
32 } // namespace net
33
34 #endif // NET_BASE_SDCH_MANAGER_H_
OLDNEW
« no previous file with comments | « net/base/sdch_manager_unittest.cc ('k') | net/base/sdch_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698