summaryrefslogtreecommitdiffstats
path: root/content/app
Commit message (Collapse)AuthorAgeFilesLines
* Fix --single-process mode after r140524.jam@chromium.org2012-06-061-1/+3
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10545032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140771 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Facilitate access to device information.leandrogracia@chromium.org2012-06-061-0/+2
| | | | | | | | | | | | | Introduce a class to expose public Android device information normally available only using the Android SDK. This information includes Display properties, as well as the telephony network country ISO code which is used for phone number detection. BUG=125390 TEST=none Review URL: https://chromiumcodereview.appspot.com/10459073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140739 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify how Content*Client interfaces are created. Instead of depending on ↵jam@chromium.org2012-06-051-38/+82
| | | | | | | | | | | the embedder to know when to create and set them and to handle special cases like zygote/single-process, directly ask the embedder to create an instance of a specific type. Also, if the embedder doesn't return an instance create the empty version. Remove MockContentRendererClient since it existed before ContentRendererClient had an implementation and has no need anymore. Rename MockContentBrowserClient to TestContentBrowserClient to better reflect how it's used. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10479023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140524 0039d316-1c4b-4281-b951-d872f2087c98
* As part of the content_shell bring up, some un-upstreamed featuresmichaelbai@chromium.org2012-06-044-0/+98
| | | | | | | | | | | | | | | | | | | | have been disabled in browser process main related c++ and Java file. The disabled features are guarded by !defined(ANDROID_UPSTREAM_BRINGUP). For Java file, the code was removed. Fixed the dependency. - Moved the content_jni_registrar.{h|cc} and library_loader_hooks.cc content/app/android/ - Moved the android_library_loader_hooks.h to content/public/app/ BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10444121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140386 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up DEPS some more. NaCl/service process code are including internal ↵jam@chromium.org2012-06-041-1/+1
| | | | | | | | | content files. Fix the instances other sandbox stuff, which I'll do in a followup. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10512010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140346 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed the dependency.michaelbai@chromium.org2012-06-014-0/+156
| | | | | | | | | | | | | | | | - Moved the content_jni_registrar.{h|cc} and library_loader_hooks.cc to content/app/android/ - Moved the android_library_loader_hooks.h to content/public/app/ Those files execute the common tasks for all processes and should belong to content/app/. BUG= TEST= TBR=jrg Review URL: https://chromiumcodereview.appspot.com/10444113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140062 0039d316-1c4b-4281-b951-d872f2087c98
* Move RegisterContentSchemes from public url_constants into non-public ↵grt@chromium.org2012-05-281-1/+1
| | | | | | | | | | | | | | | | | url_schemes. The VC++ linker can only discard whole .obj files that aren't used. setup.exe and npchrome_frame.dll pull in constants from url_constants.cc. http://crrev.com/133107 put RegisterContentSchemes into that file. This function's use of ContentClient causes all of WebKit and V8 to be pulled into setup.exe and npchrome_frame.dll. This change here moves RegisterContentSchemes into its own .cc file to get around link.exe's .obj-level code omission policy. This is a hack, and I feel shame for committing it. In the long run, we need a way to prevent changes that lead to a 6x increase in the size of the binaries spat out by the official builders. One could imagine this being done by a stage in a try run that goes red, or some build-time enforcement. Perhaps the constants should even go in their own target so that consumers of nothing but constants don't accidentally get content's transient dependencies. BUG=127564 TEST=none Review URL: https://chromiumcodereview.appspot.com/10383298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139253 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor fetching of browser_pid.bradchen@google.com2012-05-161-25/+35
| | | | | | | | | | | | Eliminates some duplicated code and avoids attempts to do disallowed operations within the Linux SUID sandbox. BUG=126163 TEST=browser_tests Review URL: https://chromiumcodereview.appspot.com/10404002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137321 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in Android content_shell startupjknotten@chromium.org2012-05-151-6/+0
| | | | | | | | | | | | | Pass in the delegate to ContentMainRunner::Initialize so that it can invoke the relevant startup routines. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10388146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137215 0039d316-1c4b-4281-b951-d872f2087c98
* Remove evan[m]?@chromium.org from OWNERS files.tony@chromium.org2012-05-101-1/+0
| | | | | | | | | | He no longer works on this project. BUG=None Review URL: https://chromiumcodereview.appspot.com/10392021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136374 0039d316-1c4b-4281-b951-d872f2087c98
* Android content shell bringup.jrg@chromium.org2012-05-101-4/+25
| | | | | | | | | | | | | | | | | | Build media java files (we weren't). Fix adb_install_content_shell for cases where the app was stuck. Add upstream staging gyp var / #define. Be more consistent about jar output files (all in lib.java). Upstream a bunch of random files (e.g. ppapi). Upstream a bunch of java and native code hit as part of shlib init. Properly package jar files in content shell. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10377059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136219 0039d316-1c4b-4281-b951-d872f2087c98
* Move the Linux zygote stuff into its own per-process directory.brettw@chromium.org2012-05-081-1/+3
| | | | | | | | | | | | | | | | | The zygote is really a separate process and doesn't belong in the browser subdirectory. I separated out the common constants used for communication into content/[public/]/common so the zygote code doesn't depend on browser. This leaves zygote_main_linux alone in its own directory. I'm going to be doing some more refactoring and probably adding a new file or two here. This does not yet add a new build target for the zygot process. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10388013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135891 0039d316-1c4b-4281-b951-d872f2087c98
* Route calls to tcmalloc MallocExtension through allocator agnostic interfacejamesr@chromium.org2012-04-281-0/+20
| | | | | | | | | | | | | | | | Our various libraries should not be picking or depending on a particular allocator choice - that should be an application level choice. This creates a generic AllocatorExtension interface that can optionally be backed by entry points to a particular allocator's MallocExtension interface if the application chooses to. BUG=125003 TEST=compiles, chrome://tcmalloc works Review URL: http://codereview.chromium.org/10239012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134434 0039d316-1c4b-4281-b951-d872f2087c98
* Metro/HiDPI: Mark Chrome as HiDPI aware on Windowssail@chromium.org2012-04-251-0/+4
| | | | | | | | | | | With this CL Chrome is marked as HiDPI aware if the enable_hidpi build flag is set. BUG=114311 TEST=Changed Windows to 2x DPI scale. Ran Chrome. Verified that 2x icons were used. Review URL: http://codereview.chromium.org/10086009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133826 0039d316-1c4b-4281-b951-d872f2087c98
* Get chrome:// dev tool urls hooked up in content_shell.michaeln@google.com2012-04-201-0/+4
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9950040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133107 0039d316-1c4b-4281-b951-d872f2087c98
* Move --user-agent overriding logic from chrome into content.scherkus@chromium.org2012-04-091-3/+12
| | | | | | | | | BUG=117259 TEST=start chrome and content_shell with and without --user-agent and visit a site like www.whatsmyuseragent.com to verify the expected user agent Review URL: https://chromiumcodereview.appspot.com/9623027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131365 0039d316-1c4b-4281-b951-d872f2087c98
* Enable audio/video tag in content_shellvrk@chromium.org2012-03-072-1/+13
| | | | | | | | | | | | | | | | Some media initialization work needed to be added to the shell in order for the ffmpeg stubs to be loaded and for the media tags to be recognized. AudioManager also needed to be added to the shell, as the Chromium-equivalent lives in BrowserProcessImpl, and the media code should not assume the MediaInternals has been created. BUG=112043,116906 TEST=content_shell builds and can play the videos in the bug above Review URL: http://codereview.chromium.org/9316077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125442 0039d316-1c4b-4281-b951-d872f2087c98
* Do not call ContentMainDelegate::ProcessExiting if BasicStartupComplete ↵marshall@chromium.org2012-02-141-4/+12
| | | | | | | | | | | return true. This fixes a regression on Linux caused by http://crrev.com/121454. BUG=114121 TEST=Run chrome --version Review URL: http://codereview.chromium.org/9348087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121906 0039d316-1c4b-4281-b951-d872f2087c98
* Support sharing of ContentMain and BrowserMain code with embedded use cases ↵marshall@chromium.org2012-02-103-484/+568
| | | | | | | | | | | | | | | | | | | | (try #3). For the browser use case it is convenient to have a single ContentMain entry point function that handles all initialization, run and shutdown. For embedded use cases it is often necessary to integrate with existing application message loops where initialization and shutdown must be handled separately. To support sharing of this code the following changes were required: 1. Refactor the ContentMain function to create a ContentMainRunner class containing separate initialization, run and shutdown functions. 2. Refactor the BrowserMain function and BrowserMainLoop class to create a BrowserMainRunner class containing separate initialization, run and shutdown functions. 3. Add a new BrowserMainParts::GetMainMessageLoop method. This is necessary to support creation of a custom MessageLoop implementation while sharing BrowserMainRunner initialization and shutdown code. BUG=112507 TEST=none Review URL: https://chromiumcodereview.appspot.com/9375017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121454 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 121236 - Support sharing of ContentMain and BrowserMain code with ↵marshall@chromium.org2012-02-093-570/+484
| | | | | | | | | embedded use cases (try #2). Tests failing. Review URL: https://chromiumcodereview.appspot.com/9372027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121245 0039d316-1c4b-4281-b951-d872f2087c98
* Support sharing of ContentMain and BrowserMain code with embedded use cases ↵marshall@chromium.org2012-02-093-484/+570
| | | | | | | | | | | | | | | | | | | | (try #2). For the browser use case it is convenient to have a single ContentMain entry point function that handles all initialization, run and shutdown. For embedded use cases it is often necessary to integrate with existing application message loops where initialization and shutdown must be handled separately. To support sharing of this code the following changes were required: 1. Refactor the ContentMain function to create a ContentMainRunner class containing separate initialization, run and shutdown functions. 2. Refactor the BrowserMain function and BrowserMainLoop class to create a BrowserMainRunner class containing separate initialization, run and shutdown functions. 3. Add a new BrowserMainParts::GetMainMessageLoop method. This is necessary to support creation of a custom MessageLoop implementation while sharing BrowserMainRunner initialization and shutdown code. BUG=112507 TEST=none Review URL: https://chromiumcodereview.appspot.com/9347022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121236 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Support sharing of ContentMain and BrowserMain code with embedded ↵evan@chromium.org2012-02-063-570/+484
| | | | | | | | use cases." This reverts commit r120574. Test failures. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120581 0039d316-1c4b-4281-b951-d872f2087c98
* Support sharing of ContentMain and BrowserMain code with embedded use cases.marshall@chromium.org2012-02-063-484/+570
| | | | | | | | | | | | | | | | | | For the browser use case it is convenient to have a single ContentMain entry point function that handles all initialization, run and shutdown. For embedded use cases it is often necessary to integrate with existing application message loops where initialization and shutdown must be handled separately. To support sharing of this code the following changes were required: 1. Refactor the ContentMain function to create a ContentMainRunner class containing separate initialization, run and shutdown functions. 2. Refactor the BrowserMain function and BrowserMainLoop class to create a BrowserMainRunner class containing separate initialization, run and shutdown functions. 3. Add a new BrowserMainParts::GetMainMessageLoop method. This is necessary to support creation of a custom MessageLoop implementation while sharing BrowserMainRunner initialization and shutdown code. BUG=112507 TEST=none Review URL: https://chromiumcodereview.appspot.com/9190018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120574 0039d316-1c4b-4281-b951-d872f2087c98
* android build: progress on content and libjingle.jrg@chromium.org2012-01-271-2/+4
| | | | | | | | | | BUG=None TEST= Review URL: http://codereview.chromium.org/9271028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119334 0039d316-1c4b-4281-b951-d872f2087c98
* Add a mechanism to launch the utility process from the zygote on Linux.jorgelo@chromium.org2011-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Allow the users of the utility process to specify whether the zygote should be used on Linux. This will allow sandboxing the uses of the utility process that don't do FS access. This is the first step to get the utility process sandboxed on Linux. Since most of the uses of the utility process don't do file access, launching all of those from the zygote will simplify sandboxing the one that does: extension unpacking. Subsequent CLs will port the uses of the utility process that don't do file access to launch from the zygote. BUG=93109 TEST=No functional changes yet, but test that nothing broke by running browser_tests::ExtensionWebstorePrivateApiTest.* and also logging into Chromium and installing an extension from the Web Store. Review URL: http://codereview.chromium.org/8849007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113914 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113027 - Zygote most of the uses of the utility process on Linuxdbeam@chromium.org2011-12-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Allow the user of the utility process to specify whether the zygote should be used on Linux. This allows to sandbox all the uses of the utility process that don't do FS access, which right now are all except extension unpacking and NPAPI plugin listing. This is the first step to get the utility process sandboxed on Linux. Since most of the uses of the utility process don't do file access, launching all of those from the zygote will simplify sandboxing the one that does: extension unpacking. BUG=93109 TEST=Try installing an extension from the web store. Review URL: http://codereview.chromium.org/8770025 TBR=jorgelo@chromium.org Review URL: http://codereview.chromium.org/8817013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113165 0039d316-1c4b-4281-b951-d872f2087c98
* Zygote most of the uses of the utility process on Linuxjorgelo@chromium.org2011-12-051-0/+1
| | | | | | | | | | | | | | | | | | | | | Allow the user of the utility process to specify whether the zygote should be used on Linux. This allows to sandbox all the uses of the utility process that don't do FS access, which right now are all except extension unpacking and NPAPI plugin listing. This is the first step to get the utility process sandboxed on Linux. Since most of the uses of the utility process don't do file access, launching all of those from the zygote will simplify sandboxing the one that does: extension unpacking. BUG=93109 TEST=Try installing an extension from the web store. Review URL: http://codereview.chromium.org/8770025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113027 0039d316-1c4b-4281-b951-d872f2087c98
* Load mac sandbox definitions from resources instead of the bundle.jochen@chromium.org2011-11-251-0/+1
| | | | | | | | | | | Also, move all mac sandbox unittests to content BUG=90443 TEST=content_unittests Review URL: http://codereview.chromium.org/8589001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111614 0039d316-1c4b-4281-b951-d872f2087c98
* share all the needed linux code with OpenBSD in chrome and contentrobert.nagy@gmail.com2011-11-111-1/+1
| | | | | | | | | | | | | | disabled code for OpenBSD: - AdjustRendererOOMScore() - SECCOMP_SANDBOX BUG= TEST=compile Review URL: http://codereview.chromium.org/8341052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109679 0039d316-1c4b-4281-b951-d872f2087c98
* Support --trace-startup and task tracingjoth@chromium.org2011-11-091-0/+7
| | | | | | | | | | | | | passing --trace-startup puts the tracing system into record mode immediately saving the result to chrometrace.log or a file specified by --trace-startup-file BUG=None TEST=start chrome with --trace-startup, wait 5 secs, see chrometrace.log in current dir. open it in chrome://tracing/ Review URL: http://codereview.chromium.org/7887013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109281 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_restriction.h and main_function_params.h to ↵jam@chromium.org2011-10-311-16/+17
| | | | | | | | | content/public/common, and put them in the content namespace. BUG=98716 Review URL: http://codereview.chromium.org/8387039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108004 0039d316-1c4b-4281-b951-d872f2087c98
* Expose the sandbox related code through the content API. I did a bit of ↵jam@chromium.org2011-10-293-59/+19
| | | | | | | | | | | | | cleanup while I was doing this. -got rid of SandboxInitWrapper, since I didn't see a need to expose given that we can just expose sandbox::SandboxInterfaceInfo -got rid of the duplicated code to initialize the broker -since I made MainFunctionParams only have the sandbox struct on Windows, I also made the mac specific auto release pool behind an ifdef as well. It seemed odd to make something so mac specific compile on all platforms to save some #ifdefs. BUG=98716 Review URL: http://codereview.chromium.org/8414020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107863 0039d316-1c4b-4281-b951-d872f2087c98
* Move PageZoom enum into content/public/common and into the content ↵jam@chromium.org2011-10-281-1/+1
| | | | | | | | | namespace. Also move content_costants to content/public/common. BUG=98716 Review URL: http://codereview.chromium.org/8413051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107804 0039d316-1c4b-4281-b951-d872f2087c98
* Move ZygoteForkDelegateLinux to content/public/common.jam@chromium.org2011-10-251-3/+3
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8381029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107128 0039d316-1c4b-4281-b951-d872f2087c98
* Make setting the user agent work with the zygote on linux.dpranke@chromium.org2011-10-241-0/+9
| | | | | | | | | | | | | | | | | | Previously the user agent was set when we set the content client, which was set in the zygote, which didn't have a command line. Now, we still set the user agent in the zygote, but if the --user-agent command line switch is passed, we will reset the user agent in ZygoteMain. R=jam@chromium.org BUG=99418 TEST=run chrome with --user-agent=foo on linux, visit whatsmyuseragent.com, ensure 'foo' is displayed. Review URL: http://codereview.chromium.org/8296011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107012 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_paths.h to content/public/common.jam@chromium.org2011-10-211-1/+1
| | | | | | | | BUG=98716 TBR=avi Review URL: http://codereview.chromium.org/8375007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106795 0039d316-1c4b-4281-b951-d872f2087c98
* Move ContentMainDelegate to content/public/.joi@chromium.org2011-10-203-131/+1
| | | | | | | | | | | | | Mostly a trivial move since the implementation for the class (now deleted) was do-nothing and the only subclass that didn't have a full implementation was ShellMainDelegate. BUG=98716 TEST=it builds + existing tests Review URL: http://codereview.chromium.org/8356025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106549 0039d316-1c4b-4281-b951-d872f2087c98
* Reland http://codereview.chromium.org/8233039/ with a fixdpranke@chromium.org2011-10-141-5/+5
| | | | | | | | | | | | so that mac works. TBR=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/8276015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105439 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_switches to content\public\common.jam@chromium.org2011-10-131-1/+1
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8277018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105389 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r105238 - "Link startup_helper_win statically to force ↵dpranke@chromium.org2011-10-131-5/+5
| | | | | | | | InitializeSandboxInfo" Review URL: http://codereview.chromium.org/8261002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105240 0039d316-1c4b-4281-b951-d872f2087c98
* Link startup_helper_win statically to force InitializeSandboxInfodpranke@chromium.org2011-10-131-5/+5
| | | | | | | | | | | | | | to use the sandbox library linked statically into an executable; using a sandbox library linked into content.dll doesn't work on windows. R=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/8233039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105238 0039d316-1c4b-4281-b951-d872f2087c98
* Remove RenderProcessHost::is_extension_processjochen@chromium.org2011-10-051-1/+1
| | | | | | | | | | | | Also move the --process=extension command line flag to --extension-process BUG=89642 TEST=everything still works Review URL: http://codereview.chromium.org/8113035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104173 0039d316-1c4b-4281-b951-d872f2087c98
* Start off the Content API by moving content::ContentRendererClient to ↵jam@chromium.org2011-10-011-0/+4
| | | | | | | | | content\public\renderer. BUG=98716 Review URL: http://codereview.chromium.org/8100013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103609 0039d316-1c4b-4281-b951-d872f2087c98
* more content exports needed for unit_tests and browser_tests.dpranke@chromium.org2011-09-301-1/+1
| | | | | | | | | | R=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/8082019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103584 0039d316-1c4b-4281-b951-d872f2087c98
* add exports needed for content_shelldpranke@chromium.org2011-09-291-1/+4
| | | | | | | | | | R=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/8071017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103344 0039d316-1c4b-4281-b951-d872f2087c98
* Export more symbols needed for the component build of content.dpranke@chromium.org2011-09-161-1/+2
| | | | | | | | | | R=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/7885041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101443 0039d316-1c4b-4281-b951-d872f2087c98
* Move the V8 benchmarking_extension.cc/.h files out of webkit/extensions into ↵ananta@chromium.org2011-09-151-2/+1
| | | | | | | | | | | | | | | | | | | chrome as the functionality exposed by this extension is chrome specific. The IPCs used by this extension have all been moved to chrome to a new header file benchmarking_messages.h in chrome\common. Added a new message filter object in chrome\browser which filters the benchmarking IPCs. Most of the changes in this CL are centered around ensuring that the benchmarking stuff gets initialized in the same order as before. Continuing changes to get rid of the pattern of IPC messags spanning across content and chrome. BUG=87335 Review URL: http://codereview.chromium.org/7885013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101214 0039d316-1c4b-4281-b951-d872f2087c98
* fix const decl in content_main.dpranke@chromium.org2011-09-131-1/+1
| | | | | | | | | | TBR=jam@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7889019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100979 0039d316-1c4b-4281-b951-d872f2087c98
* Annotate all of the functions in content that need to be exported, in ↵dpranke@chromium.org2011-09-131-6/+7
| | | | | | | | | | | | preparation for creating a content shared library. R=darin@chromium.org, jam@chromium.org, willchan@chromium.org BUG=90442 TEST=everything still compiles Review URL: http://codereview.chromium.org/7800015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100975 0039d316-1c4b-4281-b951-d872f2087c98
* export RendererMain from content so that it will get picked up properly by ↵dpranke@chromium.org2011-09-131-1/+1
| | | | | | | | | | | chrome_main. R=jam@chromium.org BUG=90442 Review URL: http://codereview.chromium.org/7841009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100809 0039d316-1c4b-4281-b951-d872f2087c98