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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/prerender_condition_platform.h
diff --git a/chrome/browser/android/prerender_condition_platform.h b/chrome/browser/android/prerender_condition_platform.h
deleted file mode 100644
index bd5a9fe39a9cf2a0074bb251f414e72a4c4cc6ce..0000000000000000000000000000000000000000
--- a/chrome/browser/android/prerender_condition_platform.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_ANDROID_PRERENDER_CONDITION_PLATFORM_H_
-#define CHROME_BROWSER_ANDROID_PRERENDER_CONDITION_PLATFORM_H_
-
-#include "base/compiler_specific.h"
-#include "base/supports_user_data.h"
-#include "chrome/browser/prerender/prerender_condition.h"
-
-namespace content {
-class BrowserContext;
-} // namespace content
-
-namespace android {
-
-class PrerenderConditionPlatform : public prerender::PrerenderCondition {
- public:
- explicit PrerenderConditionPlatform(content::BrowserContext* context);
- virtual ~PrerenderConditionPlatform();
-
- // prerender::PrerenderCondition
- virtual bool CanPrerender() const OVERRIDE;
-
- static void SetEnabled(content::BrowserContext* context, bool enabled);
- private:
- content::BrowserContext* context_;
- DISALLOW_COPY_AND_ASSIGN(PrerenderConditionPlatform);
-};
-
-} // namespace android
-
-#endif // CHROME_BROWSER_ANDROID_PRERENDER_CONDITION_PLATFORM_H_
« 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