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

Unified Diff: chrome/common/temp_scaffolding_stubs.h

Issue 27036: Get shared link working again. (Closed)
Patch Set: with dom fix Created 11 years, 10 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
« no previous file with comments | « no previous file | chrome/common/temp_scaffolding_stubs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/temp_scaffolding_stubs.h
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index 5179ffa9486c239a0f27e0f604e215358d228ab0..987c25c5092949a09bbbb667f30494a52e3ccc14 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -494,6 +494,11 @@ class Encryptor {
}
};
+
+// spellchecker.h works on Linux, but it depends on hunspell which isn't
+// built on Mac. Getting it to build on the Mac is apparently hard, so I'll
+// punt this to the Mac team for now.
+#if defined(OS_MACOSX)
class SpellChecker : public base::RefCountedThreadSafe<SpellChecker> {
public:
typedef std::wstring Language;
@@ -518,6 +523,9 @@ class SpellChecker : public base::RefCountedThreadSafe<SpellChecker> {
return 0;
}
};
+#else
+#include "chrome/browser/spellchecker.h"
+#endif
class WebAppLauncher {
public:
« no previous file with comments | « no previous file | chrome/common/temp_scaffolding_stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698