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

Unified Diff: chrome/browser/ui/views/stubs_aura.cc

Issue 8536034: More stub cleanup (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge Created 9 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/stubs_aura.cc
diff --git a/chrome/browser/ui/views/stubs_aura.cc b/chrome/browser/ui/views/stubs_aura.cc
index c9f690d4dfc85092ba2eec64763114d26a65b508..6898eb18006674f41cfea3a9ecabd23bb47e3ead 100644
--- a/chrome/browser/ui/views/stubs_aura.cc
+++ b/chrome/browser/ui/views/stubs_aura.cc
@@ -4,15 +4,15 @@
#include "base/logging.h"
-#include "chrome/browser/bookmarks/bookmark_editor.h"
#include "chrome/browser/external_protocol/external_protocol_handler.h"
-#include "chrome/browser/first_run/first_run.h"
-#include "chrome/browser/first_run/first_run_import_observer.h"
#include "chrome/browser/importer/importer_progress_dialog.h"
-#include "chrome/browser/ui/views/first_run_bubble.h"
#include "ui/gfx/native_widget_types.h"
-#if !defined(OS_WIN)
+#if defined(OS_WIN)
+#include "chrome/browser/first_run/first_run.h"
+#include "chrome/browser/first_run/first_run_import_observer.h"
+#include "chrome/browser/ui/views/first_run_bubble.h"
+#else
#include "chrome/browser/ui/gtk/certificate_dialogs.h"
#endif
@@ -23,9 +23,7 @@
class SSLClientAuthHandler;
class TabContents;
class TabContentsWrapper;
-namespace crypto {
-class CryptoModuleBlockingPasswordDelegate;
-}
+
namespace net {
class SSLCertRequestInfo;
class X509Certificate;
@@ -60,9 +58,7 @@ crypto::CryptoModuleBlockingPasswordDelegate*
NOTIMPLEMENTED();
return NULL;
}
-#endif
-#if !defined(OS_WIN)
void ShowCryptoModulePasswordDialog(
const std::string& module_name,
bool retry,
@@ -81,7 +77,6 @@ void ShowCertificateViewer(gfx::NativeWindow parent,
net::X509Certificate* cert) {
// No certificate viewer on Windows.
}
-#endif
// static
FirstRunBubble* FirstRunBubble::Show(
@@ -94,8 +89,7 @@ FirstRunBubble* FirstRunBubble::Show(
NOTIMPLEMENTED();
return NULL;
}
-
-#if !defined(OS_WIN)
+#else
void ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog,
SelectFileDialog::Type type,
const FilePath& suggested_path,
@@ -112,7 +106,7 @@ void ShowCertExportDialog(TabContents* tab_contents,
// TODO(saintlou);
NOTIMPLEMENTED();
}
-#endif
+#endif // OS_WIN
namespace importer {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698