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

Side by Side Diff: chrome/test/automation/autocomplete_edit_proxy.h

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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 unified diff | Download patch
« no previous file with comments | « chrome/renderer/webworker_proxy.h ('k') | chrome/test/automation/automation_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_TEST_AUTOMATION_AUTOCOMPLETE_EDIT_PROXY_H__ 5 #ifndef CHROME_TEST_AUTOMATION_AUTOCOMPLETE_EDIT_PROXY_H__
6 #define CHROME_TEST_AUTOMATION_AUTOCOMPLETE_EDIT_PROXY_H__ 6 #define CHROME_TEST_AUTOMATION_AUTOCOMPLETE_EDIT_PROXY_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/browser/autocomplete/autocomplete.h" 11 #include "chrome/browser/autocomplete/autocomplete.h"
12 #include "chrome/common/ipc_message.h"
13 #include "chrome/common/ipc_message_utils.h"
14 #include "chrome/test/automation/automation_handle_tracker.h" 12 #include "chrome/test/automation/automation_handle_tracker.h"
15 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 #include "ipc/ipc_message.h"
15 #include "ipc/ipc_message_utils.h"
16 16
17 // The purpose of this class is to act as a serializable version of 17 // The purpose of this class is to act as a serializable version of
18 // AutocompleteMatch. The reason for this class is because we don't want to 18 // AutocompleteMatch. The reason for this class is because we don't want to
19 // serialize all elements of AutocompleteMatch and we want some data from the 19 // serialize all elements of AutocompleteMatch and we want some data from the
20 // autocomplete provider without the hassle of serializing it. 20 // autocomplete provider without the hassle of serializing it.
21 struct AutocompleteMatchData { 21 struct AutocompleteMatchData {
22 public: 22 public:
23 AutocompleteMatchData() {} 23 AutocompleteMatchData() {}
24 explicit AutocompleteMatchData(const AutocompleteMatch& match) 24 explicit AutocompleteMatchData(const AutocompleteMatch& match)
25 : provider_name(match.provider->name()), 25 : provider_name(match.provider->name()),
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Waits for all queries to autocomplete providers to complete. 143 // Waits for all queries to autocomplete providers to complete.
144 // |wait_timeout_ms| gives the number of milliseconds to wait for the query 144 // |wait_timeout_ms| gives the number of milliseconds to wait for the query
145 // to finish. Returns false if IPC call failed or if the function times out. 145 // to finish. Returns false if IPC call failed or if the function times out.
146 bool WaitForQuery(int wait_timeout_ms) const; 146 bool WaitForQuery(int wait_timeout_ms) const;
147 147
148 private: 148 private:
149 DISALLOW_EVIL_CONSTRUCTORS(AutocompleteEditProxy); 149 DISALLOW_EVIL_CONSTRUCTORS(AutocompleteEditProxy);
150 }; 150 };
151 151
152 #endif // #define CHROME_TEST_AUTOMATION_AUTOCOMPLETE_EDIT_PROXY_H__ 152 #endif // #define CHROME_TEST_AUTOMATION_AUTOCOMPLETE_EDIT_PROXY_H__
OLDNEW
« no previous file with comments | « chrome/renderer/webworker_proxy.h ('k') | chrome/test/automation/automation_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698