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

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

Issue 390019: Parse messages.json in ExtensionUnpacker (like we do for manifest).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after
1904 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, 1904 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize,
1905 FilePath /* path */, 1905 FilePath /* path */,
1906 int64 /* result */) 1906 int64 /* result */)
1907 1907
1908 //--------------------------------------------------------------------------- 1908 //---------------------------------------------------------------------------
1909 // Utility process host messages: 1909 // Utility process host messages:
1910 // These are messages from the utility process to the browser. They're here 1910 // These are messages from the utility process to the browser. They're here
1911 // because we ran out of spare message types. 1911 // because we ran out of spare message types.
1912 1912
1913 // Reply when the utility process is done unpacking an extension. |manifest| 1913 // Reply when the utility process is done unpacking an extension. |manifest|
1914 // is the parsed manifest.json file. The unpacker should also have written 1914 // is the parsed manifest.json file. |catalogs| is the list of all parsed
1915 // out a file containing decoded images from the extension. See 1915 // message catalogs and relative paths to them.
1916 // ExtensionUnpacker for details. 1916 // The unpacker should also have written out a file containing decoded images
1917 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded, 1917 // from the extension. See ExtensionUnpacker for details.
1918 DictionaryValue /* manifest */) 1918 IPC_MESSAGE_CONTROL2(UtilityHostMsg_UnpackExtension_Succeeded,
1919 DictionaryValue /* manifest */,
1920 DictionaryValue /* catalogs */)
1919 1921
1920 // Reply when the utility process has failed while unpacking an extension. 1922 // Reply when the utility process has failed while unpacking an extension.
1921 // |error_message| is a user-displayable explanation of what went wrong. 1923 // |error_message| is a user-displayable explanation of what went wrong.
1922 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, 1924 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed,
1923 std::string /* error_message, if any */) 1925 std::string /* error_message, if any */)
1924 1926
1925 // Reply when the utility process is done unpacking and parsing JSON data 1927 // Reply when the utility process is done unpacking and parsing JSON data
1926 // from a web resource. 1928 // from a web resource.
1927 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Succeeded, 1929 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Succeeded,
1928 DictionaryValue /* json data */) 1930 DictionaryValue /* json data */)
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
2034 std::string /* signed public key and challenge */) 2036 std::string /* signed public key and challenge */)
2035 2037
2036 #if defined(SPELLCHECKER_IN_RENDERER) 2038 #if defined(SPELLCHECKER_IN_RENDERER)
2037 // The renderer has tried to spell check a word, but couldn't because no 2039 // The renderer has tried to spell check a word, but couldn't because no
2038 // dictionary was available to load. Request that the browser find an 2040 // dictionary was available to load. Request that the browser find an
2039 // appropriate dictionary and return it. 2041 // appropriate dictionary and return it.
2040 IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary) 2042 IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary)
2041 #endif 2043 #endif
2042 2044
2043 IPC_END_MESSAGES(ViewHost) 2045 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698