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

Side by Side Diff: chrome/common/render_messages.h

Issue 701973002: Separate checking the user identity and checking if the user is syncing his history in two differen… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Answered kmadhusu and dcheng Created 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxSetSuggestionToPrefetch, 275 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxSetSuggestionToPrefetch,
276 InstantSuggestion /* suggestion */) 276 InstantSuggestion /* suggestion */)
277 277
278 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxSubmit, 278 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxSubmit,
279 base::string16 /* value */, 279 base::string16 /* value */,
280 EmbeddedSearchRequestParams /* params */) 280 EmbeddedSearchRequestParams /* params */)
281 281
282 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeChanged, 282 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeChanged,
283 ThemeBackgroundInfo /* value */) 283 ThemeBackgroundInfo /* value */)
284 284
285 IPC_MESSAGE_ROUTED1(ChromeViewMsg_HistorySyncCheckResult,
286 bool /* sync_history */)
287
285 IPC_MESSAGE_ROUTED2(ChromeViewMsg_ChromeIdentityCheckResult, 288 IPC_MESSAGE_ROUTED2(ChromeViewMsg_ChromeIdentityCheckResult,
286 base::string16 /* identity */, 289 base::string16 /* identity */,
287 bool /* identity_match */) 290 bool /* identity_match */)
288 291
289 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxToggleVoiceSearch) 292 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxToggleVoiceSearch)
290 293
291 // Sent on process startup to indicate whether this process is running in 294 // Sent on process startup to indicate whether this process is running in
292 // incognito mode. 295 // incognito mode.
293 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetIsIncognitoProcess, 296 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetIsIncognitoProcess,
294 bool /* is_incognito_processs */) 297 bool /* is_incognito_processs */)
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 int /* position */, 597 int /* position */,
595 base::string16 /* provider */) 598 base::string16 /* provider */)
596 599
597 // Logs a navigation on one of the Most Visited tile on the InstantExtended 600 // Logs a navigation on one of the Most Visited tile on the InstantExtended
598 // New Tab Page. 601 // New Tab Page.
599 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedNavigation, 602 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedNavigation,
600 int /* page_seq_no */, 603 int /* page_seq_no */,
601 int /* position */, 604 int /* position */,
602 base::string16 /* provider */) 605 base::string16 /* provider */)
603 606
607 // The Instant page asks whether the user syncs its history.
608 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_HistorySyncCheck,
609 int /* page_seq_no */)
610
604 // The Instant page asks for Chrome identity check against |identity|. 611 // The Instant page asks for Chrome identity check against |identity|.
605 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ChromeIdentityCheck, 612 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ChromeIdentityCheck,
606 int /* page_seq_no */, 613 int /* page_seq_no */,
607 base::string16 /* identity */) 614 base::string16 /* identity */)
608 615
609 // Tells InstantExtended to set the omnibox focus state. 616 // Tells InstantExtended to set the omnibox focus state.
610 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FocusOmnibox, 617 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FocusOmnibox,
611 int /* page_seq_no */, 618 int /* page_seq_no */,
612 OmniboxFocusState /* state */) 619 OmniboxFocusState /* state */)
613 620
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 // process so that they can be assigned to an Instant renderer. 662 // process so that they can be assigned to an Instant renderer.
656 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, 663 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs,
657 std::vector<GURL> /* search_urls */, 664 std::vector<GURL> /* search_urls */,
658 GURL /* new_tab_page_url */) 665 GURL /* new_tab_page_url */)
659 666
660 #if defined(ENABLE_PLUGINS) 667 #if defined(ENABLE_PLUGINS)
661 // Sent by the renderer to check if crash reporting is enabled. 668 // Sent by the renderer to check if crash reporting is enabled.
662 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, 669 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
663 bool /* enabled */) 670 bool /* enabled */)
664 #endif 671 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698