~mir-team/mir/development-branch

« back to all changes in this revision

Viewing changes to include/test/mir_test_doubles/mock_shell.h

  • Committer: Tarmac
  • Author(s): Alan Griffiths
  • Date: 2014-07-15 13:05:54 UTC
  • mfrom: (1756.3.6 mir1)
  • Revision ID: tarmac-20140715130554-95pf71p17876i2zb
Tags: br0.5
client API, frontend, scene: remove support for mir_prompt_session_add_prompt_provider_sync()

Following discussions about security concerns and trusted prompt session lifecycle this function is both problematic and unnecessary. Helpers should be using mir_prompt_session_new_fds_for_prompt_providers() instead.

Approved by Cemil Azizoglu, PS Jenkins bot, Alberto Aguirre.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    MOCK_METHOD2(start_prompt_session_for, std::shared_ptr<frontend::PromptSession>(
49
49
        std::shared_ptr<frontend::Session> const&,
50
50
        scene::PromptSessionCreationParameters const&));
51
 
    MOCK_METHOD2(add_prompt_provider_process_for, void(
52
 
        std::shared_ptr<frontend::PromptSession> const&,
53
 
        pid_t));
54
51
    MOCK_METHOD2(add_prompt_provider_for, void(
55
52
        std::shared_ptr<frontend::PromptSession> const&,
56
53
        std::shared_ptr<frontend::Session> const&));