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

Side by Side Diff: chrome/browser/spellchecker/spellcheck_host.h

Issue 8392042: Split BrowserThread into public API and private implementation, step 1. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HOST_H_ 5 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HOST_H_
6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HOST_H_ 6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/platform_file.h" 14 #include "base/platform_file.h"
15 #include "content/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 16
17 namespace base { 17 namespace base {
18 class WaitableEvent; 18 class WaitableEvent;
19 } 19 }
20 20
21 class Profile; 21 class Profile;
22 class RenderProcessHost; 22 class RenderProcessHost;
23 class SpellCheckHostMetrics; 23 class SpellCheckHostMetrics;
24 class SpellCheckProfileProvider; 24 class SpellCheckProfileProvider;
25 25
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 // Attaches an event so browser tests can listen the status events. 114 // Attaches an event so browser tests can listen the status events.
115 static void AttachStatusEvent(base::WaitableEvent* status_event); 115 static void AttachStatusEvent(base::WaitableEvent* status_event);
116 116
117 // Waits until a spellchecker updates its status. This function returns 117 // Waits until a spellchecker updates its status. This function returns
118 // immediately when we do not set an event to |status_event_|. 118 // immediately when we do not set an event to |status_event_|.
119 static EventType WaitStatusEvent(); 119 static EventType WaitStatusEvent();
120 }; 120 };
121 121
122 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HOST_H_ 122 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698