| Index: chrome/browser/tab_contents/spelling_menu_observer.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/spelling_menu_observer.cc (revision 116420)
|
| +++ chrome/browser/tab_contents/spelling_menu_observer.cc (working copy)
|
| @@ -31,14 +31,19 @@
|
|
|
| #if defined(GOOGLE_CHROME_BUILD)
|
| #include "chrome/browser/spellchecker/internal/spellcheck_internal.h"
|
| -#else
|
| -// Use a dummy URL and a key on Chromium to avoid build breaks until the
|
| +#endif
|
| +
|
| +// Use the default key and URL on Chromium to avoid build breaks until the
|
| // Spelling API is released. These dummy parameters just cause a timeout and
|
| -// show 'no suggestions found'.
|
| +// show 'no suggestions from Google'.
|
| +#ifndef SPELLING_SERVICE_KEY
|
| #define SPELLING_SERVICE_KEY
|
| -#define SPELLING_SERVICE_URL "http://127.0.0.1/rpc"
|
| #endif
|
|
|
| +#ifndef SPELLING_SERVICE_URL
|
| +#define SPELLING_SERVICE_URL "https://www.googleapis.com/rpc"
|
| +#endif
|
| +
|
| using content::BrowserThread;
|
|
|
| SpellingMenuObserver::SpellingMenuObserver(RenderViewContextMenuProxy* proxy)
|
|
|