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

Side by Side Diff: chrome/browser/chromeos/prerender_condition_network.h

Issue 7517016: Add prerender to ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/prerender_condition_network.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 (c) 2011 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 CHROME_BROWSER_CHROMEOS_PRERENDER_CONDITION_NETWORK_H_
6 #define CHROME_BROWSER_CHROMEOS_PRERENDER_CONDITION_NETWORK_H_
7
8 #include "chrome/browser/chromeos/cros/network_library.h"
9 #include "chrome/browser/prerender/prerender_condition.h"
10
11 namespace chromeos {
12
13 class PrerenderConditionNetwork : public prerender::PrerenderCondition {
14 public:
15 // |network_library| must be non-NULL and live longer than |this|.
16 explicit PrerenderConditionNetwork(NetworkLibrary* network_library);
17 virtual ~PrerenderConditionNetwork();
18
19 // prerender::PrerenderCondition
20 virtual bool CanPrerender() const;
dominich 2011/07/27 17:27:43 OVERRIDE
cbentzel 2011/07/27 17:47:09 In this case it's a pure virtual function it's ove
21
22 private:
23 NetworkLibrary* network_library_;
24 };
25
26 } // namespace chromeos
27
28 #endif // CHROME_BROWSER_CHROMEOS_PRERENDER_CONDITION_NETWORK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/prerender_condition_network.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698