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

Side by Side Diff: chrome/browser/android/prerender_condition_platform.h

Issue 517843005: Remove PrerenderCondition*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
(Empty)
1 // Copyright 2013 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_ANDROID_PRERENDER_CONDITION_PLATFORM_H_
6 #define CHROME_BROWSER_ANDROID_PRERENDER_CONDITION_PLATFORM_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/supports_user_data.h"
10 #include "chrome/browser/prerender/prerender_condition.h"
11
12 namespace content {
13 class BrowserContext;
14 } // namespace content
15
16 namespace android {
17
18 class PrerenderConditionPlatform : public prerender::PrerenderCondition {
19 public:
20 explicit PrerenderConditionPlatform(content::BrowserContext* context);
21 virtual ~PrerenderConditionPlatform();
22
23 // prerender::PrerenderCondition
24 virtual bool CanPrerender() const OVERRIDE;
25
26 static void SetEnabled(content::BrowserContext* context, bool enabled);
27 private:
28 content::BrowserContext* context_;
29 DISALLOW_COPY_AND_ASSIGN(PrerenderConditionPlatform);
30 };
31
32 } // namespace android
33
34 #endif // CHROME_BROWSER_ANDROID_PRERENDER_CONDITION_PLATFORM_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/prerender_condition_platform.cc » ('j') | chrome/browser/prerender/prerender_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698