Searched refs:idle_state (Results 1 – 6 of 6) sorted by relevance
179 std::string idle_state; in TEST_F() local180 ASSERT_TRUE(result->GetAsString(&idle_state)); in TEST_F()181 EXPECT_EQ("locked", idle_state); in TEST_F()193 std::string idle_state; in TEST_F() local194 ASSERT_TRUE(result->GetAsString(&idle_state)); in TEST_F()195 EXPECT_EQ("locked", idle_state); in TEST_F()211 std::string idle_state; in TEST_F() local212 ASSERT_TRUE(result->GetAsString(&idle_state)); in TEST_F()213 EXPECT_EQ("active", idle_state); in TEST_F()230 std::string idle_state; in TEST_F() local[all …]
192 StringValue* IdleManager::CreateIdleValue(IdleState idle_state) { in CreateIdleValue() argument195 if (idle_state == IDLE_STATE_ACTIVE) { in CreateIdleValue()197 } else if (idle_state == IDLE_STATE_IDLE) { in CreateIdleValue()
89 static base::StringValue* CreateIdleValue(IdleState idle_state);
134 void ActiveTabTracker::SetIdleState(IdleState idle_state) { in SetIdleState() argument135 if (idle_state_ != idle_state) { in SetIdleState()138 else if (idle_state == IDLE_STATE_ACTIVE) in SetIdleState()140 idle_state_ = idle_state; in SetIdleState()
67 void SetIdleState(IdleState idle_state);
45 static StringValue* CreateIdleValue(IdleState idle_state);76 StringValue* CreateIdleValue(IdleState idle_state) { in CreateIdleValue() argument77 StringValue* result = new StringValue(IdleStateToDescription(idle_state)); in CreateIdleValue()