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

Side by Side Diff: chrome/browser/net/resource_prefetch_predictor_observer.h

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_NET_RESOURCE_PREFETCH_PREDICTOR_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_NET_RESOURCE_PREFETCH_PREDICTOR_OBSERVER_H_
6 #define CHROME_BROWSER_NET_RESOURCE_PREFETCH_PREDICTOR_OBSERVER_H_ 6 #define CHROME_BROWSER_NET_RESOURCE_PREFETCH_PREDICTOR_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/predictors/resource_prefetch_predictor.h" 10 #include "chrome/browser/predictors/resource_prefetch_predictor.h"
11 #include "webkit/glue/resource_type.h" 11 #include "webkit/common/resource_type.h"
12 12
13 namespace net { 13 namespace net {
14 class URLRequest; 14 class URLRequest;
15 } 15 }
16 16
17 class GURL; 17 class GURL;
18 18
19 namespace chrome_browser_net { 19 namespace chrome_browser_net {
20 20
21 // Observes resource requests in the ResourceDispatcherHostDelegate and notifies 21 // Observes resource requests in the ResourceDispatcherHostDelegate and notifies
(...skipping 19 matching lines...) Expand all
41 private: 41 private:
42 // Owned by profile. 42 // Owned by profile.
43 base::WeakPtr<predictors::ResourcePrefetchPredictor> predictor_; 43 base::WeakPtr<predictors::ResourcePrefetchPredictor> predictor_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictorObserver); 45 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictorObserver);
46 }; 46 };
47 47
48 } // namespace chrome_browser_net 48 } // namespace chrome_browser_net
49 49
50 #endif // CHROME_BROWSER_NET_RESOURCE_PREFETCH_PREDICTOR_OBSERVER_H_ 50 #endif // CHROME_BROWSER_NET_RESOURCE_PREFETCH_PREDICTOR_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/user_script_listener.h ('k') | chrome/browser/predictors/resource_prefetch_predictor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698