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

Unified Diff: chrome/browser/profile_resetter/triggered_profile_resetter_stub.cc

Issue 1294923003: Add a triggered profile reset mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: grt nits Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profile_resetter/triggered_profile_resetter_stub.cc
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkFilter.java b/chrome/browser/profile_resetter/triggered_profile_resetter_stub.cc
similarity index 50%
copy from chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkFilter.java
copy to chrome/browser/profile_resetter/triggered_profile_resetter_stub.cc
index e9282988098181adc4dc4439e16a36ec3d97cbc9..147be8fd667433c6c78f72c59829c22092a3a00d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkFilter.java
+++ b/chrome/browser/profile_resetter/triggered_profile_resetter_stub.cc
@@ -2,11 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.chrome.browser.enhancedbookmarks;
+#include "chrome/browser/profile_resetter/triggered_profile_resetter.h"
-/**
- * Possible filters for the enhanced bookmarks.
- */
-enum EnhancedBookmarkFilter {
- OFFLINE_PAGES
+void TriggeredProfileResetter::Activate() {
+#if DCHECK_IS_ON()
+ activate_called_ = true;
+#endif
}

Powered by Google App Engine
This is Rietveld 408576698