summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/profile_reset_bubble_stub.cc
diff options
context:
space:
mode:
authorengedy@chromium.org <engedy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 17:20:06 +0000
committerengedy@chromium.org <engedy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 17:20:06 +0000
commit4deac0de619aa03721e3cadd0622de98c693360e (patch)
treea400f23dd3e61d6a695f5a83df81e0d38b3b6069 /chrome/browser/ui/profile_reset_bubble_stub.cc
parent3ed84729d876d6bc22b2da8ffc8a2cd609a5004a (diff)
downloadchromium_src-4deac0de619aa03721e3cadd0622de98c693360e.zip
chromium_src-4deac0de619aa03721e3cadd0622de98c693360e.tar.gz
chromium_src-4deac0de619aa03721e3cadd0622de98c693360e.tar.bz2
Refactored GlobalError to allow having custom bubble UI or no bubble at all.
BUG=298036 Review URL: https://codereview.chromium.org/27173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/profile_reset_bubble_stub.cc')
-rw-r--r--chrome/browser/ui/profile_reset_bubble_stub.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/chrome/browser/ui/profile_reset_bubble_stub.cc b/chrome/browser/ui/profile_reset_bubble_stub.cc
new file mode 100644
index 0000000..d009660
--- /dev/null
+++ b/chrome/browser/ui/profile_reset_bubble_stub.cc
@@ -0,0 +1,21 @@
+// 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.
+
+// Definitions for chrome/browser/ui/profile_reset_bubble.h, for platforms where
+// the profile reset bubble is not implemented yet.
+
+#include "chrome/browser/ui/profile_reset_bubble.h"
+
+#include "base/logging.h"
+
+bool IsProfileResetBubbleSupported() {
+ return false;
+}
+
+GlobalErrorBubbleViewBase* ShowProfileResetBubble(
+ const base::WeakPtr<ProfileResetGlobalError>& global_error,
+ Browser* browser) {
+ NOTREACHED();
+ return NULL;
+}