Searched refs:app_mode_id (Results 1 – 6 of 6) sorted by relevance
41 AppShimHandler* GetForAppMode(const std::string& app_mode_id) const { in GetForAppMode()42 HandlerMap::const_iterator it = handlers_.find(app_mode_id); in GetForAppMode()49 bool SetForAppMode(const std::string& app_mode_id, AppShimHandler* handler) { in SetForAppMode() argument51 handlers_.insert(HandlerMap::value_type(app_mode_id, handler)).second : in SetForAppMode()52 handlers_.erase(app_mode_id) == 1; in SetForAppMode()109 void AppShimHandler::RegisterHandler(const std::string& app_mode_id, in RegisterHandler() argument112 AppShimHandlerRegistry::GetInstance()->SetForAppMode(app_mode_id, handler); in RegisterHandler()116 void AppShimHandler::RemoveHandler(const std::string& app_mode_id) { in RemoveHandler() argument117 AppShimHandlerRegistry::GetInstance()->SetForAppMode(app_mode_id, NULL); in RemoveHandler()121 AppShimHandler* AppShimHandler::GetForAppMode(const std::string& app_mode_id) { in GetForAppMode() argument[all …]
42 static void RegisterHandler(const std::string& app_mode_id,46 static void RemoveHandler(const std::string& app_mode_id);51 static AppShimHandler* GetForAppMode(const std::string& app_mode_id);
214 g_info->profile_dir, g_info->app_mode_id, launch_type, files));
53 char* app_mode_id; // Required: v1.0 member
115 std::string app_mode_id; // Required: v1.0 member
85 info->app_mode_id = SysNSStringToUTF8(87 CHECK(info->app_mode_id.size()) << "couldn't get app shortcut ID";